如何从 Facebook 收集 public 个帖子以进行文本分析和实时流式传输?

How to gather public posts from Facebook for text analytics and real time streaming?

我尝试使用 Facebook Graph API 搜索 Facebook public posts。由于它在 v2.6 中已贬值,我尝试了以下命令作为 this post 中给出的答案:

https://graph.facebook.com/v1.0/search?q=my_search_query&type=post&access_token=my_access_token,

但给出以下错误:

"error": { "message": "(#11) Post search has been deprecated", "type": "OAuthException", "code": 11, "fbtrace_id": "AwAxoS4unJR" } }

所以我似乎不能再在 Facebook Graph API 上进行 Post 搜索了。此外,我尝试使用 Public Feed API,但在他们的 API 页面上收到以下消息:

Access to the Public Feed API is restricted to a limited set of media publishers and usage requires prior approval by Facebook. You cannot apply to use the API at this time.

于是,为了得到publicposts的数据,我只能想到这两个方案:

  1. these companies合作获取post数据
  2. 抓取 Facebook 网站

由于我没有足够的预算与一些公司合作,而且我想在最后保留抓取选项,是否有其他选择获得 Facebook 的 public posts ?

Facebook 不允许抓取:https://www.facebook.com/apps/site_scraping_tos_terms.php

唯一的选择是与媒体合作伙伴合作。