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.
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.
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!
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.
You would need to parse the feed and filter out the content you don’t want manually. If you have no prior coding knowledge you should be able to find some help on Google. Here’s one tutorial on parsing an rss feed with php: http://www.softarea51.com/tutorials/parse_rss_with_php.html
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
I don’t think Facebook privacy settings will allow for Google Reader to read the RSS feed of his personal wall.
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.
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 :)
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?
Not possible with his method. You’ll need to look into the API for something like that: http://developers.facebook.com/docs/
I would like to get all the users posts as well onto my website. Possible?
Thanks in advance.
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 … :)
If a user were to post a picture or video to the Wall, we would like to see that in the RSS feed.
Sure — The Coca-Cola page feed i use as an example use plenty of pictures. I’m not sure about video though.
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.
Basically, the feed for this link:
http://www.facebook.com/coca-cola?v=wall&filter=3
I’m pretty sure FB won’t allow for this out of the box, so you should check out the graph API and see if you can find someting :)
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.
Can you rss feed your events lists?
And if so, how?
Has anyone got any ideas for an RSS feed of your events from a page?
Try this one, works quite well: http://fbrss.com/
Thanks for posting fbrss.com, Peter. I’ve updated the post with that link :)
Thanks Peter, but I want all my friend updates in one feed. I want to see them on the lockscreen of my iphone.
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)
Pingback: Quora
Pingback: The Little Days » Graham murket’s profile id
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!
Glad you like it – Comments like this, makes it worth taking time to writing posts like this :)
Thank you for posting this information!
Pingback: Rss To Facebook | AllGraphicsOnline.com
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.