简体   繁体   English

Facebook朋友-如果我的朋友(使用我/朋友的较低api版本检索到的朋友)将他的应用程序与2.x连接起来,是否会获得应用程序范围的用户ID?

[英]Facebook friends - Will my friend(who was retrieved with lower api version of me/friends) get app scoped user id if he/she connects my app with 2.x?

We had fetched friend's data prior april changes of facebook, where me/friends returned the actual user ids of all of my friends. 我们已经在Facebook的4月更改之前获取了朋友的数据,我/朋友在其中返回了我所有朋友的实际用户ID。 Even today if I query for my id it would return me the actual user id and not the app scoped id as I was previously connected to the app. 即使在今天,如果我查询自己的ID,它也会返回我实际的用户ID,而不是我以前连接到应用的应用范围的ID。

My question is if my friend connects this app today. 我的问题是我的朋友今天是否可以连接此应用程序。 Will he be getting the new app scoped id or the actual fb user id as previously received in my friendlist? 他会得到新的应用程序作用域ID还是以前在我的朋友列表中收到的实际fb用户ID?

Whether you get an app scoped user id, or the global one, depends on when the user logged in to your app for the first time. 是否获得应用程序范围的用户ID或全局ID,取决于用户首次登录您的应用程序的时间。 If that was after API v2 was introduced, then you get their app-scoped user id. 如果那是在引入API v2之后,那么您将获得其应用程序作用域的用户ID。

You can not figure out if a new user that logs in to your app for the first time now (and will get an app-scoped user id) is identical to a user whose global id you got long time ago by reading someone's friend list. 您无法确定现在第一次登录您的应用程序的新用户(并将获得应用程序范围的用户ID)是否与您很久以前通过读取某人的朋友列表而获得其全局ID的用户相同。

Your app will only be able to “see” friends of the current user now, if they are users of the app as well, and have granted user_friends permission as well. 您的应用现在只能“看到”当前用户的朋友(如果他们也是该应用的用户),并且也已授予user_friends权限。

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

相关问题 获取正在使用我的应用程序的朋友的生日 - Get birthdays of Friends who are using my App 我怎样才能让所有不使用我的应用程序或不通过我的应用程序登录的 Facebook 朋友 - How can i get all facebook friends who is not using my app or not login through my app Facebook Graph API-查看哪些用户的朋友中的朋友也安装了我的应用程序 - Facebook Graph API - see which of a user's friends of friends also have my app installed 我有一个Facebook用户登录了我的应用程序。 如何获得他朋友的身份证? - i have a facebook user logged in my app. how to get ID's of his friends? Facebook graph API / me / friends不会返回所有已授权应用程序的朋友吗? - Facebook graph API /me/friends not returns all friends who authorized app? 不是我的朋友但使用该应用程序的facebook用户 - facebook users who r not my friends but using the app 邀请Facebook朋友加入我的应用 - Invite Facebook friends into my app iOS:获取玩应用程序的Facebook朋友 - IOS: Get Facebook friends who play app 使用Graph API获取我朋友的朋友 - Get the Friends of my friend using the Graph API 除了那些在同一个应用程序上的朋友之外,Facebook GET朋友API调用不会返回任何朋友 - Facebook GET friends API call not returning any friends besides those who are on the same app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM