开发者

Facebook page in iphone application

I have used facebook-iphone-sdk to implement 开发者_StackOverflow中文版sharing functionality. Now, How can I integrate Facebook page in my Iphone application. Is it possible?

Thanks...


You can use the Facebook Graph API calls through the SDK to make calls against your page.

https://developers.facebook.com/docs/reference/api/page/

As an example in your call to post, say to the news feed, you'll just put the pageId or page name like:

[facebook requestWithGraphPath:@"pageid/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];

Anyone can get read access to most of the Graph API calls for a page as noted in the docs, so you shouldn't even need to authenticate the user to simply display some data from the page in your app.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜