facebook graph api search rules

后端 未结 5 1349
梦谈多话
梦谈多话 2020-12-24 12:50

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 t

5条回答
  •  醉梦人生
    2020-12-24 12:51

    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.

提交回复
热议问题