How to get friends birthday list from facebook? [duplicate]

旧街凉风 提交于 2019-12-02 08:48:09

问题


Possible Duplicate:
How to get friend's birthday list using facebook api?

I'm developing an application and all my users are also facebook user. Now I want to send emails from admin section to that user's friends about his birthday. Is this possible?


回答1:


It's not possible to retrieve a user's friend's email address, so you won't be able to do that.

It's trivial to retrieve a user's friend's birthdays provided they've given you the appropriate permissions though. You'll need the friends_birthday permission to do this, and once you have that permission the query is just /me/friends?fields=birthday




回答2:


Yes, you could send a FQL query to get the birthday, look into User table. developers.facebook.com/docs/reference/fql/user/

I feel you need to request permission to the user for that.



来源:https://stackoverflow.com/questions/9191190/how-to-get-friends-birthday-list-from-facebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!