Facebook android sdk's 'AccessToken.getCurrentAccessToken.getUserId()' method is returning different id from the id retrieved using findmyfbid.com

▼魔方 西西 提交于 2019-12-02 16:24:46

问题


I'm trying to get user's id like this:

AccessToken.getCurrentAccessToken.getUserId()

and it is returning an id like this:

1493******22153

but when I'm retrieving the id for same user using findmyfbid.com, I'm getting an id like this:

1000******00783

Though both ids when used like this https://facebook.com/id is opening the same profile successfully in browsers.

Why is this happening and what is the difference between these 2 ids?

来源:https://stackoverflow.com/questions/46751331/facebook-android-sdks-accesstoken-getcurrentaccesstoken-getuserid-method-is

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!