开发者

Getting list of messages & pokes in API

I've tried using both the old REST API, as well as the Graph API. I can not seem to figure out a way to get a list of ALL messages and pokes (and when I say messages, I mean private messages). These items do not appear in the stream (from what I can tell), so getting them th开发者_如何学Pythonere is not possible. Notification.get() in the REST API only gets unread messages. Any suggestions?


Read the basic Graph-mining tutorial at http://ericosgood.com/prog/facebook-android-sdk-tutorial/#comment-216.

To get information about the user, you need to branch /me, for events branch /me/events, for messages you need to branch me/inbox. Have a look at: https://developers.facebook.com/docs/reference/api/message/

For pokes use me/pokes. For both pokes + inbox you'll need the additional permission: read_mailbox.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜