简体   繁体   中英

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. 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.

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?

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. If that was after API v2 was introduced, then you get their app-scoped user 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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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