How to read the RSS feed of any Facebook page

Getting the RSS feed for a Facebook page

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 utilize 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.

Note: If you’re not interested in the URL of the feed but just want it imported in Google Reader, FeedBurner or Firefox simply skip step 1-3.

Step 1 – Getting your page id

Everything on Facebook from users to photos to events has a numeric id. This id is used internally by Facebook to identify different stuff in its enormous database when users request it. So 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 of the profile image. In the address bar you’ll see ‘http://www.facebook.com/album.php?profile=1&id=40796308305’ where ‘40796308305’ will be the page id. Copy those numbers as we’ll need them in just a second.

Step 2 – Choosing a format

You are able to 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 URL of your Facebook page feed

I’ve used the id 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

Adding your Facebook page feed to Google Reader

Just paste the URL of the page into Google Reader. For instance http://www.facebook.com/cocacola

Adding your Facebook page feed to FeedBurner

Same as google reader.

Adding your Facebook page feed in Firefox

Go to the Facebook page and click the “Add Subscription” button in the address bar.

You’re done!

… Anyway, that’s how to do it. I hope this solves some headaches :)

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

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.

About Ahrengot

Hello — My name is Jens and I'm a freelance full-stack developer. I usually work on medium to large scale projects. React, Elm, Node & WordPress
This entry was posted in social media, Tips and tutorials and tagged , , , . Bookmark the permalink.

31 Responses to How to read the RSS feed of any Facebook page

  1. Trevor Ricks says:

    I’d like to thank you for the time you took in writing this post. This has been enlightening for me. I’ve forwarded this to one of my friends.

  2. Deborah says:

    Finally! You have no idea how long I’ve been searching for a way to find this information. Facebook changes more often than most people change underwear (lovely analogy, I know) so hopefully this method stays relevant for a while. Thanks for sharing!

  3. Ashraf says:

    Hi,
    Thanks for sharing. But I have a problem when sharing my Facebook Page RSS on my website, it displays my status 2 times; one in Bold and one normal. I guess the it displays the status as the title and body, both. Is there any way to get rid of it, meaning displaying only the body.

    Thanks.

  4. Jim says:

    As far as Google Reader goes, how would you add someone for whom you only know their user id? In other words, the url for my friends’ profile doesn’t have a key word like in your example above. When I substitute a user ID for the word “cocacola,” it doesn’t work. At least not for me.

    TIA

    • ahrengot says:

      I don’t think Facebook privacy settings will allow for Google Reader to read the RSS feed of his personal wall.

      • Jim says:

        That’s what I was thinking. Curious, though, that at one point, there was an RSS icon on one of my friend’s walls and I was able to click it and subscribe to her posts via RSS using Google Reader. Even after FB changed the profile (and the RSS icon banished) it still works. Every time she posts something, I get it in my reader. I tried copying the stream URL and replacing her user id with that of another friend, but it didn’t work. My conclusion is that it has something to do with the way her privacy settings are set versus those of my other friend.

      • ahrengot says:

        It sounds reasonable. I’ve worked with the Facebook API a couple of times now, and privacy settings can be a little confusing. Let me know if you work it out :)

  5. ELW says:

    I want to get my own newsfeeds – not what is on my personal wall or somoene else’s wall nor a cocacola fan page wall. How is that done with this?

  6. PS says:

    I would like to get all the users posts as well onto my website. Possible?

    Thanks in advance.

  7. ahrengot says:

    You mean get the fan posts on a facebook page? There’s no way to get anything but the admin posts with this method, but maybe you can use one of the social plugins: http://developers.facebook.com/docs/plugins

    Still not entirely sure what it is that’s you’re asking here though … :)

    • atm says:

      If a user were to post a picture or video to the Wall, we would like to see that in the RSS feed.

      • ahrengot says:

        Sure — The Coca-Cola page feed i use as an example use plenty of pictures. I’m not sure about video though.

      • atm says:

        It shows pictures posted by Coca-Cola, but not the users. We woudl like to see the pictures posted by the users. If we could capture all the pictures posted to the Coca-Cola wall by other people, you could have a gallery that auto updates via the RSS.

  8. mike says:

    Can I still get an RSS feed of my friend’s updates? I found some references saying this URL works: http://www.facebook.com/feeds/page.php?format=rss10&id=xxxxxxx But when I try it with my user ID # FB says the feed is no longer valid. Have they completely choked people out in order to gain more exposure for their ads?

    I’d really like to get an RSS feed of my friend updates for my lockscreen on my jailbroken iPhone. Any ideas would be appreciated.

  9. thomasparkes says:

    Can you rss feed your events lists?
    And if so, how?

  10. Peter says:

    Try this one, works quite well: http://fbrss.com/

  11. mike says:

    Thanks Peter, but I want all my friend updates in one feed. I want to see them on the lockscreen of my iphone.

  12. David Sanger says:

    How about getting and RSS feed of your fan page news feed which you see when you are ‘using Facebook as a page’ and which consists of posts by all the pages you ‘like’ when ‘using Facebook as a page’ (as opposed to page you like with your personal profile)

  13. Pingback: Quora

  14. Pingback: The Little Days » Graham murket’s profile id

  15. Max Sequeira says:

    Thank you so much. After hours trying to figure out how to get the RSS feed from a Facebook page to integrate with Twitter (thru Twitter Feed), you have finally made my day. Cheers over!

  16. tiberx says:

    Thank you for posting this information!

  17. Pingback: Rss To Facebook | AllGraphicsOnline.com

  18. Although this is just another “+1” message, I would also like to say thank you for posting this. I have been going round and round in circles trying to find the RSS feed for my page. Your instructions finally provided my answer.

    I believe that if Facebook want companies to invest in creating useful and interesting pages, then it’s important to provide the functions which allow that investment in content to be used in flexible ways.

Leave a reply to Deborah Cancel reply