How can I get my current pokes (and pokes back)?
Normaly they must be in the table "notification" ... I am confused.
Hope someone can help me.
How can I get my current pokes (and pokes back)?
Normaly they must be in the table "notification" ... I am confused.
Hope someone can help me.
Here are the Facebook REST docs for how to get notifications, which should include Pokes.
Here is a working example that prompts for read_mailbox permission and uses /me/pokes to retrieve a users pokes. This can be done in any server side language too using the same logic.
Get Pokes:
Poke back: To poke a user back, you would issue an HTTP Post to /userid/pokes but you need to get whitelisted by Facebook. Otherwise you will get this response:
Using the graph API, using the right access token of course (you need the "read_mailbox" permission"), access https://graph.facebook.com/me/pokes
Replace "me" in the graph API for a Facebook UID you have permission to access to.