I need to use graph API to find out how many people have i sent friend request to and it is pending?
Is it possible to get this information using the API?
Using FQL: http://developers.facebook.com/docs/reference/fql/friend_request/
Related
I saw that is possible to use Graph API to send message to a user, but I didn't find nothing about send message to a page. Is it possible?
It is not possible with the API, you can only reply to a User message as Page. Sending messages from Users to Pages is not really neccessary, Users can just use the Messenger for that. Prefilling would not be allowed anyway.
I'm looking at the "Messeger Platform API" documentation, and was not clear to me if I can use any Facebook API to:
Send a message from a page to a public profile.
Send a message from a facebook profile to another who is not my friend.
The Messenger Platform is not for user to user communcation. Read the docs to find out what it is about, and how to use it: https://developers.facebook.com/docs/messenger-platform
Is it possible to read direct messages using the facebook graph api? I can see a reference to a message object in the docs (http://developers.facebook.com/docs/reference/api/message/) but can’t see a call to get a collection of messages for a facebook page.
I eventually found this in the notifications call in the graph api ...
https://graph.facebook.com/id/notifications
I needed manage_notifications and read_mailbox extended permissions for this to work as well
using graph api and fql you can read messages
see https://developers.facebook.com/docs/reference/fql/ thread and message
be aware there is any difference for FB backend if a message has been sent from during online chat or while offline from chat
I'm accessing the Graph API using batch requests, while trying to retrieve all of my friends likes the plataform returns-me a unknow error. By the way i'm using JSONPath to retrieve the likes.
likes?ids={result=friends:$.data.*.id}
Is this an security related question or a bug?
Ensure your access token has friends_likes by using the linter: https://developers.facebook.com/tools/debug
I know I can use FB Api to send the request, but I need to pick up those guys from my friend list. Is there a way, I can preselect the particular friends from the list or send the request directly to some particular guys?
Thank you!
You can use the Requests dialog.