使用Facebook图形API v2.0的获取朋友的生日 [英] Fetch friends birthday using facebook graph api v2.0
问题描述
在1.0版,有可能要求授权,允许一个应用程序,看到一个有限的朋友的数据,量比如一个人的朋友的喜好,他们的生日,等等。
In v1.0, it was possible to ask for permissions that would allow an app to see a limited amount of friend data, such as a person's friend's likes, their birthdays, and so on.
在V2.0,这些权限都被删除。它不再可能的应用程序,看看从一个人的朋友的数据,除非这些朋友也都登录到应用程序,并授予权限的应用程序,看到它的数据。
In v2.0, those permissions have all been removed. It's no longer possible for an app to see data from a person's friends unless those friends have also logged into the app and granted permission for the app to see it that data.
现在的问题是,我们如何才能让朋友birthday.I正在使用user_friends权限所提供我的好友列表,它们的ID,名字,中间名,性别,而是没生过一天。
Now the issue is that how we can get the friends birthday.I am using user_friends permission that is providing me list of friends with their id, first name,middle name,gender but not birth day.
推荐答案
这是不可能收集朋友的生日与图形API> = 2.0版了,因为所有的的朋友_ *
权限已被删除。
It's not possible to gather friends birthdays with Graph API >=v2.0 anymore, because all friends_*
permissions have been removed.
请参阅:
- <一个href="https://developers.facebook.com/docs/apps/changelog#v2_0_permissions">https://developers.facebook.com/docs/apps/changelog#v2_0_permissions
而且,你要问的情况下,有没有办法解决这个。
And, in case you want to ask, there's NO workaround for this.
这篇关于使用Facebook图形API v2.0的获取朋友的生日的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!