I need to monitor one single page and all related activities. This is the result I'm trying to accomplish:
29/10 - User: John - Action: Like - Object type: status - Object id: 123456
29/10 - User: Mary - Action: Comment - Object type: status - Object id: 123343
29/10 - User: Etan - Action: Tagged - Object type: status - Object id: 123537
29/10 - User: Arth - Action: Like - Object type: status - Object id: 123876
29/10 - User: Jack - Action: Post - Object type: status - Object id: 123423
29/10 - User: Jack - Action: Photo - Object type: photo - Object id: 123423
You can take as example the search by term, that provide everything as expected. We have in one single call comments, posts, statuses and photos ordered since the specified date/time:
https://graph.facebook.com/search?q=watermelon&type=post
Since there's no way to do it simple as the /search?q=
, how can I do it with FQL?
Should I use the stream
table? In that case, which filter of the stream_table
should I apply?
Is there an easy way to do that or do I have to get every thing in separated queries?
(If it helps: I'm using Facebook PHP SDK)