Does anyone have any idea what boolean logic is acceptable on the facebook graph api? They have the worst documentation, forums, assistance known to the developer world. I tried using OR and it does not seem to be working. AND seems to be implied with spaces or commas.I am trying to search for multiple terms or using OR and NOT.
Share
You can do AND and OR, when searching for posts, like:
http://graph.facebook.com/search?q=watermelon%20|%20banana&type=post
The AND operator you can use with space or +:
http://graph.facebook.com/search?q=watermelon%20banana&type=post
You can search for terms like “bruce lee” too, using “”:
search?q=”bruce lee”&type=post
Resuming: ” | ” = OR
” ” and “+” = AND
I did not find a way to use the NOT operator
And I agree, it is the worst API documentation ever.