Reputation: 19055
In Facebook's Graph API reference, the page /{user-id}/feed specifies in its "Reading" section that a possible modifier is filter of type "string". It points to the stream_filter reference table, too.
I'm having trouble understanding what a stream_filter does and how I use it in a request to the Graph API. Any help is appreciated!
Upvotes: 0
Views: 1883
Reputation: 74004
Out of interest, i searched for those filters too and found out that there is a thread about it already with a good answer: Facebook Graph Api filter feed by category
So this is how i get the available filters by FQL:
SELECT name, type, filter_key FROM stream_filter WHERE uid = me()
Try this in the Graph API explorer: https://developers.facebook.com/tools/explorer/?fql=SELECT%20name%2C%20filter_key%2C%20type%20FROM%20stream_filter%20WHERE%20uid%20%3D%20me%28%29
Now when i try /me/home?filter=x and replace the x with my photo filter, i do get a different result than without a filter. When i try this with /me/feed there is no difference, i get status messages without any photo too. Maybe it just does not work for the feed connection...Although it is mentioned in the docs: https://developers.facebook.com/docs/graph-api/reference/user/feed/
More information:
Upvotes: 1