Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
982 views
Welcome To Ask or Share your Answers For Others

1 Answer

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/).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...