Facebook – the API for Facebook ‘profile stream’ aka wall posts

facebookfacebook-wallfbml

Is there an API call, and if so, which call to get the 'posts to my wall from myself and others' on Facebook? It seems like it could be filtered out of the Facebook stream API, but it's not clear how that works to me.

This link seems to imply it's possible:

http://developers.facebook.com/news.php?blog=1&story=225

Best Answer

You want to do an FQL query like this:

SELECT actor_id, message FROM stream WHERE source_id = <user id> limit 50

You will probably want to select a few more fields, you can see what is available here: http://wiki.developers.facebook.com/index.php/Stream_%28FQL%29

Related Topic