简体   繁体   中英

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.

是的,Facebook Graph API允许您访问个人资料并从中提取您想要的任何信息。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM