Drupal 7 – Get Facebook Page feeds by Aggregator

You can get the Facebook Page content by the following URLs:

RSS 2.0
http://www.facebook.com/feeds/page.php?format=rss20&id=[fb-page-id]
Atom 1.0
http://www.facebook.com/feeds/page.php?format=atom10&id=[fb-page-id]

 

Where the [fb-page-id] could be found by browsing your Facebook Page -> Edit Page. That URL should have the following format.

https://www.facebook.com/pages/edit/?id=%5Bfb-page-id%5D&sk=basic

 

The above RSS and Atom URLs cannot be used for the Drupal 7 Aggregator module. You can try but the feeds cannot be shown probably. Luckily, i found a website call Facebook Wallflux and they could help you to create a proper feed URL. So the final URL should be in the following format.

http://www.wallflux.com/feed/%5Bfb-page-id%5D

 

The last thing to do is to enable the Aggregator module and setup the feed @ admin/config/services/aggregator.

Done =)

Reference:

Advertisements

One thought on “Drupal 7 – Get Facebook Page feeds by Aggregator”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s