[英]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.