Can a facebook friend request be sent from my own app?

前端 未结 1 1273
遇见更好的自我
遇见更好的自我 2020-12-22 01:12

I am creating an app and want to know if my app can send a Facebook friend request (say I know the other users id/name) or does Facebook not allow this?

相关标签:
1条回答
  • 2020-12-22 02:05

    The short answer is "no."

    The Facebook API does not allow you to programmatically send friend requests, but with some work, you may be able to use a WebView to load a Friend Request dialog via Javascript (For info on the request dialog, check https://developers.facebook.com/docs/reference/dialogs/requests/).

    0 讨论(0)
提交回复
热议问题