How to add your Facebook status to your website
General discussion
yelvington - August 18, 2007 - 03:33
Facebook has a Twitter-like feature in which you can update your "status" -- a one-liner formatted as [whatever you type].
It's now possible to export your Facebook status as an RSS feed, which means you can add it to your Drupal site.
The hard part is finding your personal status "feed." Go to your Facebook Profile page and look for the "Mini-Feed" box. Click on the "See all" link. On the right rail of the resulting page is a list of links; one of them is "Status stories." That's the one you want. Click it.
Now you have a page labeled "My Mini-Feed" that is limited to your own status updates. Look in the right rail for an RSS icon and a label, "Subscribe to these stories." There's your RSS link.
Grab the URL and add it to the Aggregator on your website. Set the refresh time to the lowest possible value (15 minutes) and make sure cron runs at least that frequently.
Currently, the Aggregator module produces a block for each feed. You can place that block in any region. Voila: Your Facebook status is now reflected on your Drupal site.
By editing the block configuration you can change or remove the title and limit the number of links it presents. Unfortunately, Aggregator blocks currently can be limited to 2 links, but not 1, so you can't present only your current Facebook status on your website, and you also can't turn off the "more" link at the bottom of the block. These limitations will probably lead me to write my own module at some point.
One nice thing about Facebook is that the status can be updated remotely, from a mobile phone through Facebook's XHTML-MP site (m.facebook.com) or via SMS from selected carriers.
How to add your Facebook status to your website | drupal.org



How to add your Facebook status to your website General discussion yelvington - August 18, 2007 - 03:33 Facebook has a Twitter-like feature in which you can update your "status" -- a one-liner formatted as [whatever you type]. It's now possible to export your Facebook status as an RSS feed, which means you can add it to your Drupal site. The hard part is finding your personal status "feed." Go to your Facebook Profile page and look for the "Mini-Feed" box. Click on the "See all" link. On the right rail of the resulting page is a list of links; one of them is "Status stories." That's the one you want. Click it. Now you have a page labeled "My Mini-Feed" that is limited to your own status updates. Look in the right rail for an RSS icon and a label, "Subscribe to these stories." There's your RSS link. Grab the URL and add it to the Aggregator on your website. Set the refresh time to the lowest possible value (15 minutes) and make sure cron runs at least that frequently. Currently, the Aggregator module produces a block for each feed. You can place that block in any region. Voila: Your Facebook status is now reflected on your Drupal site. By editing the block configuration you can change or remove the title and limit the number of links it presents. Unfortunately, Aggregator blocks currently can be limited to 2 links, but not 1, so you can't present only your current Facebook status on your website, and you also can't turn off the "more" link at the bottom of the block. These limitations will probably lead me to write my own module at some point. One nice thing about Facebook is that the status can be updated remotely, from a mobile phone through Facebook's XHTML-MP site (m.facebook.com) or via SMS from selected carriers.
drupal
Share with friends
Comments (0)
What`s cooking?
blog business catastale catastali catasto collection credit entrepreneurship facebook fonts games google information informazioni internet management martyn project secret series servizio set startups sunshine test testing toscana twitter web zazna