views:

3293

answers:

2

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

Thanks!

+1  A: 

I haven't tried it, but I was just looking into a similar issue today. I think you want to start here:

http://wiki.developers.facebook.com/index.php/Stream_%28FQL%29

If you're using PHP, look up the various stream.* methods.

Mike Heinz
Thanks, I'll take a look.
John
+1  A: 

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%5F%28FQL%29

related questions