Monday 18 March 2013

FACEBOOK RSS FEED

Step-by-step guide

Follow the three easy steps below to grab the feed. If you run into any trouble be sure to check out the comments below for various tips and tricks.

Step 1 – Getting your page id from Facebook

Everything on Facebook, from users to photos to events, has a numeric id. This id is used internally by Facebook to find different objects in its enormous database. When you request the RSS feed from a page, you’ll need to send the id of the page along with your request. That’s why the first thing you need to do is to find the id of your page. It’s pretty simple.
Open any Facebook page and click on the profile image. In the address bar you’ll see something likefacebook.com/photo.php?fbid=10150651498353306&set=a...
The fbid part is what you’ll need.

Step 2 – Choosing a RSS format

You can choose between an atom feed and RSS 2.0. If you don’t know the difference just go with atom. To read more about Atom vs RSS 2.0 click here.

Step 3 – The complete RSS feed URL

I’ve used the fbid from the Coca-Cola page to demonstrate the URL’s. Just replace the numeric ID at the end with the id you found in step 1.
Here’s the URL to the Coca-Cola Facebook page as an atom feed:
http://www.facebook.com/feeds/page.php?format=atom10&id=40796308305
And here’s the URL to the same page using RSS 2.0:
http://www.facebook.com/feeds/page.php?format=rss20&id=40796308305

Update: You can get your personal feed as RSS too!

If you want your own(or any of your friends) wall feed as RSS you can do that via the FB RSS Facebook application. Thanks to Peter for pointing this one out in the comments.


source: ahrengot

0 comments :

Post a Comment