我想使用Facebook的Graph从一个公共团体中获得一个成员列表
公众团体:https://www.facebook.com/groups/1555326074717022
我在这里生成了一个用户访问令牌:https://developers.facebook.com/tools/explorer
我在GET查询中输入了以下内容:
1555326074717022/members
但我错了
“消息”:“不支持get请求。ID为'1555326074717022‘的对象不存在,由于缺少权限而无法加载,或不支持此操作。请阅读https://developers.facebook.com/docs/graph-api的图形API文档”,
不知道我做错了什么--如果你不是管理员,是否有可能获得公共组数据?
发布于 2018-04-11 06:20:00
https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes
对我们更健壮的过程的测试从今天开始,新的过程应该在几周后恢复,但是目前正在访问事件和Groups 的应用程序将在今天失去访问权限。
另外:
不推荐: /members和/admins端点已被删除。
发布于 2018-10-18 21:10:21
https://developers.facebook.com/docs/graph-api/reference/user/groups for Graph版本v3.1似乎表明,如果应用程序通过了应用程序评审或应用程序正在开发,则解决方案是可能的。
https://developers.facebook.com/docs/graph-api/reference/v3.1/group表示具有权限的另一种可能性:
groups_access_member_info — Enables your app to receive member-related data on group content.
publish_to_group — Enables your app to post content into a group on behalf of a user.
user_managed_groups — Enables your app to read the Groups of which a person is an admin.
但是,尽管如此,user_managed_groups权限并不在可以请求的权限列表中,甚至在开发模式下,使用Test也会收到错误消息:
English Quiz - Test1
Ethan 100029439245680
==== Query
curl -i -X GET \
"https://graph.facebook.com/v3.1/100029439245680/groups?access_token=<access token sanitized>"
==== Access Token Info
{
"perms": [
"user_friends",
"groups_access_member_info",
"public_profile",
"basic_info"
],
"user_id": 322852501618049,
"app_id": 867918616743637
}
==== Parameters
- Query Parameters
{}
- POST Parameters
{}
==== Response
{
"error": {
"message": "Unsupported get request. Object with ID '100029439245680' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "EvrL0yxzs/q"
},
"__debug__": {}
}
https://stackoverflow.com/questions/49765521
复制相似问题