简体   繁体   English

如何通过Python代码检索与我的Facebook应用程序关联的所有用户数据?

[英]How to retrieve all users data associated with my Facebook Application via Python code?

I created an application on Facebook for my research project. 我在Facebook上为我的研究项目创建了一个应用程序。 I, therefore, submitted some fields that I wanted to collect from the users that are going to associate with my app (eg, user_likes, user_posts). 因此,我提交了一些我想从要与我的应用程序关联的用户那里收集的字段(例如,user_likes,user_posts)。 When they associate with my app, how can I retrieve their information using the Facebook-SDK for Python? 当他们与我的应用程序关联时,如何使用适用于Python的Facebook-SDK检索他们的信息? Is there a way to get a list of associated users of my Facebook App? 有没有办法获取我的Facebook应用程序的关联用户列表?

I have seen that I can get from the Graph API Explorer all the Test Users of my app using this command: 我已经看到可以使用以下命令从Graph API Explorer中获取应用程序的所有测试用户:

(<<APP-ID>>?fields=accounts)

If I turn my app available publicly, this field "accounts" will return all the real users associated with? 如果我公开发布我的应用,则此“帐户”字段将返回与之关联的所有真实用户?

Is there a way to get a list of associated users of my Facebook App? 有没有办法获取我的Facebook应用程序的关联用户列表?

No, you would have to store all users in your own database. 不,您必须将所有用户存储在自己的数据库中。 There is no API to get all authorized users. 没有API可以获取所有授权用户。

/me/accounts returns all Pages the user manages. /me/accounts返回用户管理的所有页面。

Very old, but still valid: How to get all the user IDs of people who are using your Facebook application 很老,但仍然有效: 如何获取正在使用您的Facebook应用程序的用户的所有用户ID

暂无
暂无

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

相关问题 如何通过我自己的Python GUI应用程序创建Linux用户? - How to create linux users via my own GUI application in Python? 如何使用 Python API 检索与帐户关联的所有许可证 - How to retrieve all the licenses associated with an account using Python API 如何通过Facebook OpenGraph检索所有帖子评论/喜欢 - How to retrieve all post comments/likes via Facebook OpenGraph Python代码不检索所有表数据(Web抓取) - Python code doesn't retrieve all table data (Web scraping) 尝试使用Python / Django通过Facebook Marketing API检索Campaign Insight数据时出现FacebookRequestError - FacebookRequestError while trying to retrieve Campaign Insight Data via Facebook Marketing API with Python/Django 如何通过gremlin-python获取所有边缘,关联的顶点以及相应的id,标签和属性? - How do I get all the edges, associated vertices, and the respective id, label and properties via gremlin-python? 如何将数据放入 PyPi python package 并通过 pip 检索? - How to put data in a PyPi python package and retrieve via pip? 如何在 python 中使用 discord 异步获取具有特定角色的 discord 服务器中所有用户的列表? (里面的代码) - How do I get a list of all users in my discord server with a specific role using discord async in python? (code inside) 如何检索redis实例中的所有数据? - How do I retrieve all the data in my redis instance? Django-如何查询与“列表”对象关联的所有用户 - Django - how to query all users associated with a “listing” object
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM