簡體   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