How to get Recent Activity stories via FQL and Graph API?

3k Views Asked by At

I just want to get message from facebook, like 'Yanyang and Sina Sadegh are now friends', I see Piyush Mangalick said "some recent Activity stories now exposed via FQL and Graph API and these stories, along with tags of people mentioned in the stories are now available through the FQL stream table and the Graph API Post object" in the link 'http://developers.facebook.com/blog/post/592/'

But while I check stream table, I found the column 'story' or 'story_tags' is not exist in steam table till now. It always throw 'stroy is not a member of the stream table', why?

And while I use Graph API to get feed 'me/feed', it just show the comments and likes and shares, no friends relation ship like I want or music info.

How could I get the recent activity stories via FQL and Graph API?

2

There are 2 best solutions below

2
On

Without wanting to ask a silly question, did you enable the migration in your app's advanced settings?

I just tried an FQL query of the form fql?q=select description, tagged_ids, message_tags from stream where source_id = me() and it's including 'was tagged in a photo' and other similar stories, as expected

0
On

I had a similar issue, but I corrected it using by using the description field instead of story.

It seems that description is the appropriate field in FQL and story is the corresponding field in the Graph API.