简体   繁体   English

Facebook iOS应用程序-如何了解授权我的Facebook应用程序的用户

[英]Facebook iOS app - How to know the users that authorize my Facebook app

I have a Facebook app at https://developers.facebook.com that is connected to my native iOS app, and I also use the Facebook iOS SDK to extend my application with social networking capabilities. 我在https://developers.facebook.com上有一个Facebook应用程序,该应用程序已连接到我的本机iOS应用程序,并且我还使用Facebook iOS SDK通过社交网络功能扩展了我的应用程序。

My app will ask the user to authorize it by logging in using Facebook. 我的应用程序将要求用户通过使用Facebook登录进行授权。

My question is how to know the users that already authorized the app so I can put them in a special list ( UITableView )? 我的问题是如何知道已经授权了该应用程序的用户,以便可以将其放入特殊列表( UITableView )中?

You can't get a list of all your app's users unless you've been keeping track of this server side. 除非您一直跟踪此服务器端,否则无法获取所有应用程序用户的列表。

You can get a list of a user's friends that also use your app by calling /me/friends?fields=installed - there'll be an 'installed:true' in the response for friends which have authorised your app 您可以通过调用/me/friends?fields=installed来获取也使用您的应用程序的用户朋友列表-对于授权您的应用程序的朋友,响应中将显示“ installed:true”

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

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