简体   繁体   English

尝试解析来自 facebook 组的帖子时出现 facepy.exception (#200)

[英]Got facepy.exception (#200) when trying to parse posts from facebook group

I'm trying to parse posts from facebook group by Python using facepy to interact with facebook API.我正在尝试解析来自 facebook 组的帖子,由 Python 使用 facepy 与 facebookA867423187014 交互。 I got token with permission for managing posts from groups, but i got exception 'facepy.exceptions.OAuthError: [200] (#200) Requires either admin with granted managed_group pemissions or member using installed app.'.我获得了有权管理来自群组的帖子的令牌,但我得到了异常'facepy.exceptions.OAuthError:[200](#200)需要具有授予managed_group权限的管理员或使用已安装应用程序的成员。'。 But I am member of that group.但我是那个小组的成员。

from facepy import GraphAPI
graph = GraphAPI('<API_Token>')
print(graph.get('944324092265557/feed'))

What's my problem and how to fix it.我的问题是什么以及如何解决它。 Thanks谢谢

But I am member of that group但我是那个组的成员

That alone is not enough, the app must also be installed in the group by an admin in this scenario.仅此还不够,在这种情况下,该应用程序还必须由管理员安装在组中。

https://developers.facebook.com/docs/graph-api/reference/v4.0/group/feed#readperms https://developers.facebook.com/docs/graph-api/reference/v4.0/group/feed#readperms
https://developers.facebook.com/docs/groups-api#app-installation https://developers.facebook.com/docs/groups-api#app-installation

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Facebook Graph API、FacePy 和嵌入式帖子 - Facebook Graph API, FacePy, and Embedded Posts 如何使用 facepy、graphAPI 和 Python 3.5 从 Facebook 群组中获得超过 5000 名成员 - How can I get more than five thousand members from a Facebook group using facepy, graphAPI and Python 3.5 FacePy Facebook发布错误 - FacePy Facebook post error 使用FacePy在Facebook中搜索群组不起作用 - Search for Groups in Facebook with FacePy not working Facebook Graph API python facepy - Facebook Graph API python facepy Python-使用Facepy在Facebook GraphAPI上获取帖子ID - Python - getting post id on Facebook GraphAPI with Facepy 我得到了异常:来自 ('translate.google.com',) 的意外状态代码“429”和<response [200]></response> - I got Exception: Unexpected status code “429” from ('translate.google.com',) and <Response [200]> /posts/create/ 处的 AttributeError:尝试从标题字段解析主题标签并将其保存在标签字段中时,“str”对象没有属性“set” - AttributeError at /posts/create/ : 'str' object has no attribute 'set' when trying to parse hashtags from title field and save it in tags field 尝试发布时的facepy.exceptions.FacebookError - facepy.exceptions.FacebookError while trying to post 使用beautifulsoup / python解析公共facebook帖子 - Parse public facebook posts with beautifulsoup / python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM