Facebook 公共提要 API [英] Facebook public feed API

查看:26
本文介绍了Facebook 公共提要 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从事的项目主要是从社交网络中挖掘数据,到目前为止,我已经完成了 twitter 并且它有非常好的 API,它允许我选择一个端点并接收已填充的 twits 作为流数据.现在我在 facebook 上工作,问题来了:使用 Graph API 我将能够获得某个特定页面的公共提要,但是如果我想收到尽可能多的人的帖子怎么办?Facebook Public Feed API 是否像 Twitter 一样工作,并为我提供来自尽可能多来源的数据,或者我误解了什么?

i'm working on project which mostly is a data-mining from social networks, so far, i've done twitter and it have really nice API, which allows me to pick an endpoint and recieve alredy filltered twits as streaming data. Now i'm working on a facebook, and there comes the question: with Graph API i would be able to get public feed of some definite page, but what if i would like to recieve posts from as many people as possible? Does Facebook Public Feed API works as Twitter's, and gives me data from as many sources as possible, or i missunderstood something?

推荐答案

您正在寻找 Facebook 搜索 API.https://developers.facebook.com/docs/reference/api/search/

You're look for the Facebook Search API. https://developers.facebook.com/docs/reference/api/search/

您需要一个带有令牌的应用才能访问这些.虽然有些可能需要更高的权限,但通用权限将用于搜索平台上公开可用的公共操作类型(帖子、地点等).

You'll need an app with a token to access these. Some might need higher permissions though, but the generic one will work to search commons actions types (post, places, etc) who're publicly available on the platform.

您将无法搜索私人出版物.除非您搜索授予您直接权限以读取其时间线的用户(一个接一个).

You won't be able to search for private publications. Unless you search user who gave you direct permissions to read their timeline (one by one).

这篇关于Facebook 公共提要 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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