Facebook "OR"使用图形 API 查询

标签 facebook search graph

在 Facebook 上搜索“OR”查询是徒劳的,因为“OR”会被过滤掉。

找不到搜索“X or Y or 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'或'y'”、“x|y”、“x y”、“x,y”等....

最佳答案

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

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

干杯, 波阿斯

关于Facebook "OR"使用图形 API 查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3655077/

相关文章:

facebook - 这些天 Facebook 状态提要 URL 在哪里?

search - 你如何在不知道它们叫什么的情况下搜索符号?

javascript - Facebook API 获取页面选项卡内的 Fanpage ID

ios - 如何创建 UITableView 加载数据样式,如 Facebook App 样式?

C++ 在 vector 中搜索元素首次出现的位置

java - 为什么我的短语查询给我的结果这么少?

android - MPAndroidChart 已弃用的 setDrawCubic() 的替代品是什么?

algorithm - 二分匹配的贪心算法

java - Spring Data Graph、jo4neo、ogrm 的任何替代品?

Facebook 仍然通过 https 加载 http 内容