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:
One thought on “Drupal 7 – Get Facebook Page feeds by Aggregator”