We've worked on a number of sites where we've built custom Facebook feeds into our design. The driving reason behind doing this is to allow us to design the feeds however we pleased, without being constrained by the pre-created snippets that Facebook provides. You can see an example of a custom feed on the homepage of The American College Center for Veterans Affairs .
We are using Drupal's Feeds module to pull Facebook activity from the Facebook Graph API. However, we kept running into a problem: when authorizing the feeds through OAuth, our user access token would only be valid for 60 days, at which point it would expire and our feed would grind to a halt. However, we were able to identify a solution that seems to work; see the steps below:
- In the Facebook developer console, browse to Tools & Support > Access Token Tool
- Find your app, and locate the "App Token". Do not use the "User Token"; you'll want the "App Token".
- When configuring the feed URL, append the app token to the feed URL like so: https://graph.facebook.com/v2.3/YourFacebookAccountNameHere/feed?access_token=APP_TOKEN_GOES_HERE
That seems to let us pull the feed in an ongoing fashion without token expiration. I believe OAuth assigns a "User Token", which expires in 60 days, but the app token lives on.