开发者

How to invite user's friends using Facebook?

I'm letting users login to my site using the Graph API. I'm able to access a list of all their friends using https://graph.facebook.com/me/friends.

My question is, how can I invite their friends to the site after that? Do I have to show that invite/request form, or can I invite their friends in any other way?

If I do have to show the invite/request form, is there a way to select all friends with a clic开发者_JS百科k?


I haven't checked this, but my guess is that you have to show the invite dialog. Facebook policy is to not allow apps to do too much without user interaction. You can do whatever you want with the user, he gave you permissions, thats his problem. His friends are another story. Other people should not suffer because one of their friends authorized a spammy app (not that I'm saying this is the case with your app :))

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜