Facebook RSS feed

There are 126 comments.

Every Facebook page has an RSS feed. You can subscribe to that feed with your RSS reader. You can also embed it or build applications that use it and everything else you can do with an RSS feed. The only thing is, finding the URL of the feed can be difficult, so i decided to help a little and write this guide.

Example use case

To see an example of how you could customize a facebook feed, check out my case study Skive Festival 2012 where the feed is integrated into the overall design and appearing amidst the main feed along other news and artists.

Skive Festival home page

Facebook RSS feed implemented on Skive Festival

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 like facebook.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.

  • april

    great info….how do you get the rss feed to automatically post on the timeline? right now it goes to NEWS and I have to publish each one onto the fanpage’s timeline

  • http://www.facebook.com/minty1992 Adam ‘Minty’ Hughes

    I found that if you got to http://www.facebook.com/notifications , at the top of the page it offers an RSS feed, just click that and copy the address :)

  • Pingback: Drupal 7 – Get Facebook Page feeds by Aggregator | Eureka!

  • benbristow

    Doesn’t work anymore.

  • Pingback: Google

  • LeDude

    Still works! Just analyse FB’s IDs…
    By opening some pictures and comparing all given IDs in their URL it appered that the last number after the last dot is the right one as it’s always the same.
    With that number you will be able to get the feed

    • Gianna Williams

      This worked for me, but you have to make sure to include the “&type=1&theater” that comes after that magic number.

  • fbrss

    Please update or take down this post – it doesn’t work.

  • almancam
  • almancam

    almancam.com

  • http://giacomoballi.com/ Giacomo Balli

    it does work but now I’m wondering if there’s a way to include comments…? https://www.facebook.com/feeds/page.php?id=142756772566480&format=rss20

  • puneet

    is there anyway i can get feeds of pages i dont own or admin???

    and can i capture their images and albums through that?

  • mrsjones

    Love it! This works great–and you can follow the rss feed of a page you haven’t even liked! (Thanks to commenters on the tips for finding the right ID number, though–the instructions in the article point you to the wrong ID. It really is the one between the last period and the & symbol).

    And I think if you turn on notifications for each of your friends, you can get your entire FB news feed in your rss, if you want to abandon fb all together.

    Thanks for this!

    • http://distcurm.blogspot.com/ IMGoph

      When you say “turn on notifications for each of your friends,” what exactly do you mean? Are you talking about using the ‘FBRSS’ app?

      I used to use the old RSS capability in Facebook to read all my friends’ updates in Google Reader. That got turned off on December 27, 2012, to the best of my knowledge. Is there a workaround now?

  • http://twitter.com/Samuraiko Michelle Travis

    Thank you so much! Was exactly what I needed!