gpt4 book ai didi

Facebook "OR"使用图形 API 查询

转载 作者:行者123 更新时间:2023-12-02 00:38:20 24 4
gpt4 key购买 nike

在 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com