What is the API for Facebook 'profile stream' aka wall posts?

John picture John · Jul 23, 2009 · Viewed 10.9k times · Source

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

Answer

Wade Simmons picture Wade Simmons · Oct 13, 2009

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