如何抓取Facebook上一个封闭组中的帖子

问题描述 投票:0回答:2

我想从我加入的一个封闭组中抓取帖子。我看了facebook api,但我仍然不知道如何解决这个问题。我读了这个帖子Facebook API / httpclient wrapper for crawling through the wall posts & group posts of any user?。但它已经过时了,并没有提供好的答案。

facebook facebook-graph-api
2个回答
2
投票

您可以尝试使用Graph API Explorer来测试代码

基本上,您可以发送http请求来访问数据

得到

https://graph.facebook.com/{group-id}/feed?access_token={token}

0
投票

2019年更新:您无法从组fb获取数据,因为他们添加了新权限,您必须使用它们验证您的应用程序。

© www.soinside.com 2019 - 2024. All rights reserved.