简体   繁体   English

使用 facebook php sdk 访问 Facebook 图形 API 中的完整用户数据

[英]Accessing full user data in the Facebook graph API with facebook php sdk

I've created a demo link which I hope to embed in a FB page.我创建了一个演示链接,希望将其嵌入到 FB 页面中。 When a user clicks on this link they are presented with a permissions page saying if they proceed further then I can collect certain information about them.当用户点击此链接时,他们会看到一个权限页面,说明如果他们继续下一步,我可以收集有关他们的某些信息。 I require their bio, likes, films, books etc data.我需要他们的生物、喜欢、电影、书籍等数据。 At the minute, when they click "proceed" I'm only able to collect the following information:目前,当他们点击“继续”时,我只能收集以下信息:

ID Name Gender身份证姓名性别

Note the app used when in this process is a user app with full privilledges.请注意,在此过程中使用的应用程序是具有完整权限的用户应用程序。

Interestingly, if I add the user as owner of the app and then send them the link then when they click it I collect full data.有趣的是,如果我将用户添加为应用程序的所有者,然后将链接发送给他们,那么当他们点击它时,我会收集完整的数据。 The question I have - is there a way of fully collecting all the data of a user in facebook without adding them as an owner of the app?我的问题 - 有没有一种方法可以在不将用户添加为应用程序所有者的情况下完全收集 facebook 中用户的所有数据? I know the graph API is such that it is easy for pages but users seem to be different!我知道图形 API 对页面来说很容易,但用户似乎不同! Can anyone shed any light on this?任何人都可以对此有所了解吗?

Most permissions need to get reviewed, or they will only work for users with a role in the App.大多数权限需要经过审查,否则它们将仅适用于在应用程序中具有角色的用户。 Read all about Login Review in the docs: https://developers.facebook.com/docs/facebook-login/review在文档中阅读有关登录审核的所有信息: https : //developers.facebook.com/docs/facebook-login/review

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM