Accept or decline Friend Request using FB Graph AP

2019-07-29 12:49发布

问题:

How I can accept or decline friend requests of other users via Graph API

回答1:

You can read friend requests by looking at the friend_request table with FQL and the "read_requests" extended permission. The public API does not support managing those (accepting/denying). There may be a way if you get whitelisted somehow and get access to undocumented API's, but this is pure speculation.