I want to search facebook messages content using the graph API
https://graph.facebook.com/me/threads?access_token=ACCESS_TOKEN
This one returns my facebook inbox messages, Is it possible to search for a specific word in those messages using the API itself without server side filtering ?, Just like how it works in the actual inbox, search feature lets me search in the message contents
Lets say this is a message : " I love StackOverFlow users ! "
I want to use something like this to only return it
https://graph.facebook.com/me/threads?access_token=ACCESS_TOKEN&contains=stackoverflow
Use fql, example of search 'hi':
SELECT author_id, body, created_time FROM message WHERE thread_id IN (SELECT thread_id FROM thread WHERE folder_id = 0) AND CONTAINS("hi")
Test with Graph API explorer: