开发者

How to download Facebook page posts

I am an iOS developer and I am writing an app which needs to 开发者_高级运维take statuses from my Facebook page and and display them in my app.

  1. Does the Facebook API support that?
  2. If it does, can anyone give a link for some tutorials or explain how can I make this?

I know that API supports an RSS feed but i don't found how to feed my statuses.


If you're using a Facebook page, you can easily use the graph API to query for posts made by that page. For example, for Starbucks:

http://graph.facebook.com/Starbucks/posts

You can simply load this in your browser to see the format the data comes back in, and all that's needed to access this data is a simple HTTP request. You can replace Starbucks with your Page's ID or username to get your Page's posts. These come back in JSON, which should be fairly easy to handle on your end.


Yes, the Facebook Graph API allows you to access your profile and extract any information you'd like from it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜