Facebook上是否有一个公共的搜索API了吗? [英] Does facebook have a public search API yet?
问题描述
我似乎无法找到明确的字在那里Facebook的搜索API:即允许你搜索公共状态更新和评论/职位API(有一个Web界面为所有已登录的用户为此在时刻)。
I can't seem to find the definitive word out there of the facebook search api: the api that allows you to search public status updates and comments/posts (there is a web interface for all logged in users for this at the moment).
推荐答案
您可以使用Facebook的图形API:
You can use the Facebook graph API :
<一个href=\"http://developers.facebook.com/docs/reference/api/\">http://developers.facebook.com/docs/reference/api/
查找查找部分,
从FB QUOTE:
搜索
您可以在社交图谱与 https://graph.facebook.com/search 所有公共搜索对象了。格式为:
You can search over all public objects in the social graph with https://graph.facebook.com/search. The format is:
<一个href=\"https://graph.facebook.com/search?q=QUERY&type=OBJECT_TYPE\">https://graph.facebook.com/search?q=QUERY&type=OBJECT_TYPE
我们支持搜索以下类型的对象:
https://graph.facebook.com/search?q=QUERY&type=OBJECT_TYPE We support search for the following types of objects:
所有公开信息:<一href=\"https://graph.facebook.com/search?q=watermelon&type=post\">https://graph.facebook.com/search?q=watermelon&type=post
- 人物:
<一href=\"https://graph.facebook.com/search?q=mark&type=user\">https://graph.facebook.com/search?q=mark&type=user - 页:
<一href=\"https://graph.facebook.com/search?q=platform&type=page\">https://graph.facebook.com/search?q=platform&type=page - 活动:
<一href=\"https://graph.facebook.com/search?q=conference&type=event\">https://graph.facebook.com/search?q=conference&type=event - 组:
<一href=\"https://graph.facebook.com/search?q=programming&type=group\">https://graph.facebook.com/search?q=programming&type=group - 的地方:
<一href=\"https://graph.facebook.com/search?q=coffee&type=place¢er=37.76,122.427&distance=1000\">https://graph.facebook.com/search?q=coffee&type=place¢er=37.76,122.427&distance=1000 - 签到地点:
<一href=\"https://graph.facebook.com/search?type=checkin\">https://graph.facebook.com/search?type=checkin
您也可以搜索个人
用户的新闻饲料,仅限于
用户的好友,加入A Q
参数到户连接网址:
You can also search an individual user's News Feed, restricted to that user's friends, by adding a q argument to the home connection URL:
- 新闻供稿:
<一href=\"https://graph.facebook.com/me/home?q=facebook\">https://graph.facebook.com/me/home?q=facebook
这篇关于Facebook上是否有一个公共的搜索API了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!