Display your facebook status on a Drupal site

So things are getting out of hand with all the crazy web 2.0/social networking sites popping up but if you've got a facebook account chances are you haven't tired of the ability to post your status whenever you want.

Something I noticed recently is that your facebook status is published as an RSS feed from your profile (go to your profile, then click on 'see all' in your mini-feed, then filter to 'status stories.').

What this means is that you can grab that feed and display it on your Drupal website using the feed aggregator module!  Nice!! :)

Okay, so now that you've got your feed URL from facebook (copy the linked blue rss logo as shown above), enable the aggregator module and add the feed to your aggregator.  For my personal site at http://www.qasim.ca I chose to only display the latest status for obvious reasons.

Now, the aggregator module automatically makes a block for each feed you throw into the aggregator - so all you have to do is edit the block, set the number of feed items to show and then publish the block wherever you want!

Notes:

I created a similar function

Blake Brannon's picture

I created a similar function in PHP but it works without having Drupal installed. You can download it here:

http://www.blakebrannon.com/2007/11/18/stats2site-add-facebook-status-to-your-website/

I have tried to fix this

Mapmod v2's picture

I have tried to fix this problem on my Drupal blog but it didn't work.

Well, first, you need to

Singapore bookshop's picture

Well, first, you need to make sure that you are trying to display only one feed with it. It breaks down on my site if I stick multiple feeds in the 'feed' area. Next, one of the problems I ran into was that I tried to place the module multiple times on the site to try and get multiple feeds displayed.

I originally tried this with

yelvington's picture

I originally tried this with aggregator.module, but because of the issues you have encountered (and several more) I created the Facebook Status module a few months ago.

It provides for one (and only one, at this point) Facebook user per site, as it was written to meet my needs for my single-user blog site.

It uses PHP5's simpleXML interface to fetch and parse the feed, and stores the data in the cache table.

I am likely to rewrite it to use a cron hook and store the data in the profile table, which will open the door to supporting multiple users per site. In that case I'll likely produce a block that can be placed on pages in Ken Rickard's mysite personalization module and on user profile pages.

good to know, thanks :)

Due Bei Bambini's picture

good to know, thanks :)

I've got your feed url,

Owen Kimberly's picture

I've got your feed url, thanks for sharing.

THa nks a lot for

cooking cakes's picture

THa nks a lot for sharing....even i got ur feed url.

With Facebook getting more

Search Engine's picture

With Facebook getting more and more populary, this is definitely a nice add on.

thanks for information

bodrum property's picture

thanks for information

Great Info thank you very

The Webmasters Forum's picture

Great Info
thank you very much.

just one of the thousands of

Dress Up Games's picture

just one of the thousands of things drupal could do. Thanks for the info.

Gracias por el post, era muy

Anonymous's picture

Gracias por el post, era muy interesante leer

Venta de Cialis Venta de Levitra Venta de Viagra

drupal

single malt whisky's picture

quality stuff!

Drupal is the business

A lot of <a

Anonymous's picture

A lot of <a href="replica">http://www.AANDEREPLICAS.COM/">replica rolex</a> new high quality of the <a href="replica">http://www.AVIANWATCH.COM/">replica watches</a> have <a href="Replica">http://www.BLINGMALL.COM/">Replica watches</a> grown like mushrooms,<a href="Replica">http://www.EDELUXEFASHIONS.NET/">Replica Watches</a> and one <a href="rolex">http://www.EXACTSWISS.NET/">rolex replica watches</a> can<a href="Replica">http://www.FINALHOURPROPHECY.COM/">Replica rolex Watches</a> get a watch <a href="Fake">http://www.FINELUXURYTIME2.COM/">Fake Watch</a>practically<a href="Fake">http://www.HOLLYWOODREPLICA1.COM/">Fake Rolex</a> everywhere. While <a href="Replica">http://www.IDREAMREPLICA.COM/">Replica Watches</a>you are <a href="Fake">http://www.IREPLICASTYLE.COM/">Fake Watch</a>just having a stroll down<a href="Fake">http://www.IREPLICAVILLAGE.COM/">Fake Watch</a> the street,<a href="Replica">http://www.legendaryreplicas.com/">Replica Rolex watches</a> a guy might <a href="Replica">http://www.LUXURYFOURLIVING.COM/">Replica Rolex watches</a> come up to you and show you bunch of watches, and tell you that those are the best <a href="watch">http://www.MYSWISS-REPLICAS.COM/">watch Replicas</a> watches available in the world. On the other hand replica Rolex watches are not <a href="replica">http://www.NEWYORKSWIS.COM/">replica rolex</a> as abundant <a href="Fake">http://www.PARADISE-REPLICA.COM/">Fake Watch</a> as the fakes. Replica <a href="Rolex">http://www.REPLCAS50.COM/">Rolex Replica watches</a> are somewhat made with care, with all possible
<a href="fake">http://www.OLYMPICREPLICA.COM/">fake Rolex</a> ways to atleast <a href="Replica">http://www.REPLICAREPORT.INFO/">Replica Watch</a>look like a Rolex watch. While it is <a href="Replica">http://www.REPLICAS2YOU.COM/">Replica Rolex Watch</a>easier to spot a fake Rolex watch, it is somewhat difficult to recognize a replica from an original Rolex.


The best <a href="Replica">http://www.REPLICATREEE.COM/">Replica watches</a> way to be assured of buying a genuine Rolex watch is to get it from a Rolex authorized <a href="Fake">http://www.REPLICAUNDERGROUND.INFO/">Fake Watch</a>dealer. If you should get the watch from any other sources, you would need to understand the unique characteristics of the Rolex watch which you want to buy, as otherwise you may be procuring a replica instead of an original Rolex. Rolex puts particular <a href="Replica">http://www.SWISSFREEZ.COM/">Replica Rolex Watch</a> identifications in all their watch models which provide a clue of the product that you are buying. These identifications are not available in replica watches, or even if they are available, the identifications are not properly crafted.


One of the first <a href="Fake">http://www.THEWATCHFATHERS.COM/">Fake Watches</a> basic things to notice in an original Rolex is that the case back is free from any engravings. The case-back is smooth as ever,<a href="Replica">http://www.UPTOWNREPLICAS.COM/">Replica Watches</a> with the only exception that there would be a hologram stuck onto it if the watch happens to be new. Replica watches have engravings of a logo or something similar, which is a good indication that <a href="Rolex">http://www.watcheshomepage.com/">Rolex Replicas</a> the watch is not a genuine Rolex. Remaining of the subject matter of holograms, every Rolex replica watch<a href="Replica">http://www.ewatchesplus.com/">Replica rolex</a> has a hologram stuck on the case-back when shipped new to the dealers <a href="Replica">http://www.fakedelights.com/">Replica Watches</a> all over the world. This is a 3-D hologram which can be viewed at different angles. In case of <a href="replica">http://www.replicaplayer.net/">replica rolex</a>, the sticker stuck on the case-backs are not holograms, and does not have any 3-D effect.


Another basic <a href="replica">http://www.replicaprofile.net/">replica rolex</a> way to identify a genuine Rolex is by its second hand. In most of the Rolex models, the second hand <a href="Swiss">http://www.tntswiss.us/">Swiss Replica Watches</a> sweeps the dial with a continuous movement. There are few exceptions, but those models <a href="rolex">http://www.italianreplica.net/">rolex replica</a> are not in production these days. In all of the replica Rolex watches then the quartz<a href="rolex">http://www.globalreplica.com/">rolex replica</a> movement is used in which the second hand stops and moves every second. <a href="Replica">http://www.limitedwatch.com/">Replica Watch</a>There were a few models manufactured in the 1980?s which had quartz movement. This idea was dropped and <a href="Rolex">http://www.italianfakes.net/">Rolex replicaes</a> Rolex started to have watches with continuous movement of the second hand. Rolex made the Air King models in 2003 which used quartz movement. In Geneve Cellini, which is a classic brand of Rolex watches, Rolex uses hand wound <a href="replica">http://www.replicajournal.net/">replica watches</a>mechanism for gent's models, while the ladies version uses quartz movement.


If you are lucky <a href="replica">http://www.fancyfakes.com/">replica watch</a> enough to buy a solid gold Rolex watch, you will find that the watch is much heavier than its replica model. This is <a href="replica">http://www.replicainsider.net/">replica rolex</a>because the replica uses a base metal which has gold plating. This gold plating wears off in time, and the base metal starts to show. This particularly happens at the corner of the lugs and at the case-back. There are also typical engravings which ensure that the watch is an original Rolex. If you take off the watch band or the strap, you will notice the registered number engraved <a href="fake">http://www.replicaquest.net/">fake watch</a>inbetween the lugs at "12" position of the dial. Again, you can find the serial number of the case engraved on the same place at "6" position of the dial. As for replicas, there are no such engravings.

bartending online

josh's picture

Really experts are here..I should learn a lot lol.. Really integrating social community site to the page.. is gud..

<a href="http://rapidbartender.com">bartending
online</a>