Recently I came across the requirement to pull in the latest status updates from a number of our companies Facebook pages. This used to be a relatively simple process. However these days it requires an access token to grab this information from the Graph API. Since the CMS I’m using isn’t great with OAuth, I decided to look for an alternative.
Behold, the beloved RSS feed.
While the data it returns isn’t as great as the Graph API, it returns the status update (which was all that I was after) via JSON, RSS or Atom.
If you’re not sure of what your Facebook ID is I’ve built a little tool to find it out below, just type in your page name to get the ID.
Facebook ID search
In this example, take the portion after the
.com/from your desired page and enter it into the box above.
For this method to work, you need to ensure that the page you are looking to read is public, that is, the posts can be seen without being logged into Facebook.
There are two parameters, with there respective options listed below. As far as I can tell, this seems to be it. But if you know of other parameters or options please leave a comment to let me know and I’ll add it to the list.
- numerical id of the Facebook page