Facebook图形API的“OR”查询

3
在Facebook上搜索“OR”查询是徒劳无功的,因为“OR”会被过滤掉。
无法找到搜索“X或Y或Z”的方法。

https://graph.facebook.com/search?q=cats%20OR%20Dogs&type=post

这将只会找到包含“猫”和“狗”两个关键词的文章:

{
     "id": "100000895865837_129212313793038",
     "from": {
        "name": "Faxon LeCat",
        "id": "100000895865837"
     },
     "message": "Over and over again I see dogs or cats who are \"owner surrenders\" for one reason or another. When you get a pet - it's for life! They are not toys to be returned when you tire of them!",
     "type": "status",
     "created_time": "2010-09-06T22:48:33+0000",
     "updated_time": "2010-09-07T00:32:43+0000",
     "likes": 12
  }

https://graph.facebook.com/search?q=cats%20Dogs&type=post

结果为:

 {
     "id": "100000573125293_144875485549138",
     "from": {
        "name": "Gianna Fedullo",
        "id": "100000573125293"
     },
     "message": "Dogs and cats are enimies, but yah know the dogs alwaaays winn(; FMS<3 .",
     "type": "status",
     "created_time": "2010-09-07T00:38:23+0000",
     "updated_time": "2010-09-07T00:38:23+0000"
  }

有人知道让它搜索“OR”的魔法调用吗?

已尝试过“'x' or 'y'”、“x|y”、“x y”、“x,y”等方法...


容易。首先搜索猫,然后搜索狗,最后组合搜索结果。太棒了。 - Denis
3个回答

2

你让我的一天充满了阳光!你是从哪里获取这个信息的? - Thomas Decaux

1

有没有解决这个问题的方法?想知道Facebook是否允许在查询中使用“OR”运算符? - infinity

0

你尝试过使用 ||(双竖线)或大写的“OR”吗?


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接