4

Is there a way, via FQL or the Facebook API, to access the wall posts to a fan page (not a profile)?

Mat
  • 202,337
  • 40
  • 393
  • 406
nicholaides
  • 19,211
  • 12
  • 66
  • 82

1 Answers1

3

You can use Stream.get with the source id set to the page id of a fan page. I tried this on the developer console using the cocacola fan page (id 40796308305) and I think it accomplishes what you are trying to achieve.

This is the php example that the dev console gives me:

$facebook->api_client->stream_get('',40796308305,'0','0',30,'','','','');

http://wiki.developers.facebook.com/index.php/Stream.get

AdamB
  • 3,101
  • 4
  • 34
  • 44
  • I get "stream requires the read_stream extended permission." when running this in the dev console. What's the trick to this? – typeoneerror Nov 04 '09 at 23:02
  • That probably means you do not have proper permission to view the fan page, I used my viewer_id to view the fan page that the member was part of, and i had read_stream and extended permission for the viewer_id – f0ster Nov 19 '09 at 20:10