繁体   English   中英

Facebook“OR”查询图API

[英]Facebook “OR” queries with the graph API

在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"
  }

有人知道魔术调用让它搜索“或”吗?

试过“'x'或'y'”,“x | y”,“xy”,“x,y”等....

确实使用OR不起作用。 但是使用管道(|)会:

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

干杯,波阿斯

似乎| 不再工作了。 我发布了关于Facebook Graph API搜索的OR问题的问题。

你试过|| (双管)或资本“或”?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM