如何通过使用Facebook中的组ID获取会员的信息? [英] how to get members' info by using group id in facebook?
问题描述
这里是A组.我想提取成员的组信息作为训练数据集.
Here is a group A. I want to extract the members' group information as the training data set.
例如,组A包含400个成员的列表,每个成员加入多个不同的组.
For example, group A has a list of 400 members and each member joins a number of different groups.
如何从网上论坛中获取会员的信息?我可以仅通过使用组ID来获取会员的信息吗?
How can I get the members' information from the group? Can I get members' information by simply using the group id?
推荐答案
您可以使用图形API查询组端点...
You can query the group endpoint using the graph api...
https://graph.faecbook.com/GROUP_ID/members
这将返回(引用 facebook文档):
属于该组的所有用户(目前只能返回前500名成员).
All of the users who are members of this group (can only currently return the first 500 members).
您将必须使用有效的访问令牌,并且只有在管理该组时才能检索到该令牌.
You will have to use a valid access token and you will only be able to retrieve one if you are administering the group.
这篇关于如何通过使用Facebook中的组ID获取会员的信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!