开发者

Get Facebook's friends birthdays in Objective C

i found a site like graph.facebook.com but I cannot understand this API, so I wanted to know if there's a way to get the friends birthday (e.g. as an HTTP Request) ? Please help, Thanks 开发者_如何学Cin advance!


Just glancing over the documentation, it seems that you would need the user's authorization:

Look at the user api: http://developers.facebook.com/docs/reference/api/user

from http://developers.facebook.com/docs/api:

The Graph API as such allows you to easily access all public information about an object. For example, https://graph.facebook.com/btaylor (Bret Taylor) returns all the public information about Bret. For example a user's first name, last name and profile picture are publicly available.

To get additional information about a user, you must first get their permission. At a high level, you need to get an access token for the Facebook user. After you obtain the access token for the user, you can perform authorized requests on behalf of that user by including the access token in your Graph API requests

Here is an example done in FQL: Fetching friends' birthdays from facebook profile

FQL: http://developers.facebook.com/docs/reference/fql/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜