Show facebook status stream of a dedicated person on a website

Posted by Pascal on Stack Overflow See other posts from Stack Overflow or by Pascal
Published on 2010-03-16T15:44:54Z Indexed on 2010/05/13 12:24 UTC
Read the original article Hit count: 199

Filed under:
|
|
|

Hi all, I've been stomping at this all day :(

I want to display a status feed of both twitter and facebook on my website. For twitter, this is not a problem, as my account is public, I can easily get the feed. Facebook however, is a whole different story! I can't seem to find an easy way to just get my last status updates and display it on my website. The code I currently have, needs authentication of the visitor, and I don't want that!

This is my current code:

$facebook = new Facebook($api_key, $secret);
$stream = $facebook->api_client->fql_query("SELECT message,source,time FROM status WHERE uid = $user_id LIMIT 6");

I've seen several possible solutions, including the RSS feed, but as Facebook keeps changing the way their site works, none of the previous methods I've seen (including those from as late as januari) currently work!

Is there anybody who can provide me with a currently working solution to this (simple?) problem?

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-api