Get apprequests available to user, sent by other users

前端 未结 4 1928
囚心锁ツ
囚心锁ツ 2021-01-28 03:16

BUMP: This is not a dead request. I\'m still hoping to get a solid answer from someone at Facebook or anyone else. Thanks.

Revised Inquiry: I don\'t know if I\'m not ask

4条回答
  •  再見小時候
    2021-01-28 03:49

    You need to make a graph api request to get the apprequests connection for a user. See the current documentation here: http://developers.facebook.com/docs/reference/api/user/.

    In the Connections table, the documentation correctly notes that you need an application access token to retrive the requests to that user. There's a bug in the documentation under (http://developers.facebook.com/docs/reference/api/user/#apprequests) that claims you need a user access token. This is incorrect, and (as you've seen) will return an empty list of requests.

    Requests sent by an application are only visible to the application. The user can't see or delete these requests (though they are able to hide the request). The reason for this is that the applications can put data into the requests (255 characters) that's never exposed to the user or other applications.

    I don't think there's a way you'll be able to aggregate a user's requests from apps that you don't have an access token for.

提交回复
热议问题