简体   繁体   English

无法在IOS(Facebook SDK)中访问public_profile权限

[英]Unable to access public_profile permission in IOS(Facebook SDK)

I have a Facebook login in my app. 我的应用程序中有一个Facebook登录名。 Actually public_profile is a default permission. 实际上,public_profile是默认权限。 For Facebook integration i have used a wrapper class. 对于Facebook集成,我使用了包装器类。 Problem is that i am getting only id and name from Facebook SDK while logging in. Can anyone guess the problem?? 问题是我在登录时仅从Facebook SDK获得ID和名称。有人能猜到这个问题吗? **来自XCode的示例日志**

You need to specify each field you want to retrieve if you're using v2.4 of the Graph API. 如果您使用的是Graph API v2.4,则需要指定要检索的每个字段。

See my answer at 看到我的答案在

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

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