douzhigan1687 2016-03-24 11:11 采纳率: 0%
浏览 184
已采纳

同一用户的多个Facebook用户ID

I've a problem with facebook login. I've created an app in a facebook developer's account. Next I've used the facebook PHP SDK to make user login and:

  • In the PHP SDK response, return this fb id: 884035841685689
  • At the following address: https://developers.facebook.com/tools/explorer if I search with this query "me?fields=id" return this fb id: 750153425073932
  • At the following address: http://findmyfbid.com/ if I paste the user's facebook link in the textbox it will return this fb id: 100002378440884

I don't understand why with the same user account, return three different facebook id.

  • 写回答

1条回答 默认 最新

  • dongle3217 2016-03-24 11:54
    关注

    User IDs are "App Scoped" nowadays.

    • The first one is the App Scoped ID of your own App.
    • The second one is the App Scoped ID of the "Graph API Explorer App". Select your own App and you will get the same ID as with the PHP SDK.
    • The last one is actually the "real" ID. You only get that one by scraping the user profile, which is not allowed on Facebook.

    More information about App Scoped IDs: https://developers.facebook.com/docs/apps/changelog#v2_0

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 vue2中使用计算属性
  • ¥50 远程桌面打开Mastercam、没有许可证、物理机打开正常
  • ¥15 ubuntu安装gdal后java读取tif文件报错
  • ¥15 请问lammps怎么做两种金属连接的原子浓度分布图
  • ¥15 求jacquard数据集
  • ¥15 w10部分软件不能联网
  • ¥15 关于安装hbase的问题(操作系统-windows)
  • ¥15 novnc连接pve虚拟机报错安全协议不支持262
  • ¥15 设备精度0.03给多少公差能达到CPK1.33
  • ¥15 qt+ffmpeg报错non-existing PPS 0 referenced