facebook图表api搜索规则 [英] facebook graph api search rules

查看:100
本文介绍了facebook图表api搜索规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有任何想法什么布尔逻辑可以接受在Facebook图表api?他们拥有最差的文档,论坛和开发人员世界知名的协助。我尝试使用OR,它似乎没有工作。并且似乎暗示空格或逗号。我正在尝试搜索多个术语或使用OR或NOT。

解决方案

你可以做AND AND OR,当搜索帖子,如:
http://graph.facebook.com/search?q=watermelon%20|%20banana&type=post



AND运算符你可以使用空格或+:
http:// graph。 facebook.com/search?q=watermelon%20banana&type=post



您也可以使用搜索bruce lee这样的词语:
search?q =bruce lee& type = post



恢复:|= OR
和+= AND



我没有找到使用NOT运算符的方法



我同意,这是最差的API文件。


Does anyone have any idea what boolean logic is acceptable on the facebook graph api? They have the worst documentation, forums, assistance known to the developer world. I tried using OR and it does not seem to be working. AND seems to be implied with spaces or commas.I am trying to search for multiple terms or using OR and NOT.

解决方案

You can do AND and OR, when searching for posts, like: http://graph.facebook.com/search?q=watermelon%20|%20banana&type=post

The AND operator you can use with space or +: http://graph.facebook.com/search?q=watermelon%20banana&type=post

You can search for terms like "bruce lee" too, using "": search?q="bruce lee"&type=post

Resuming: " | " = OR " " and "+" = AND

I did not find a way to use the NOT operator

And I agree, it is the worst API documentation ever.

这篇关于facebook图表api搜索规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆