Problems with Facebook API - Getting all content from table Stream
Posted
by Fernando Paiva
on Stack Overflow
See other posts from Stack Overflow
or by Fernando Paiva
Published on 2010-06-17T21:46:35Z
Indexed on
2010/06/17
21:53 UTC
Read the original article
Hit count: 193
I am trying to get all stream data from a group (I have wall entries, discussions, events and photos).
For now, Access on this group is Open.
$result = $_fb->api_client->fql_query("SELECT actor_id, message FROM stream WHERE source_id=$gid LIMIT 50");
Only some of the records come back (5 out of 10) (only wall entries and a photo).
Just in case, I asked for extra permission when user signed up for the app (just to make sure is not a lack of permissions - even though the Group is "open" right now):
- Access my News Feed & Wall
- Send SMS messages to my phone
- Create and modify events
- RSVP to events
- Access my data when I'm not using the application
- Publish content to my Wall
- Access my email address
- Access Insights data for my pages and applications
© Stack Overflow or respective owner