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 一个服务器已经有一个系统了如果用usb再装一个系统,原来的系统会被覆盖掉吗
  • ¥15 使用esm_msa1_t12_100M_UR50S蛋白质语言模型进行零样本预测时,终端显示出了sequence handled的进度条,但是并不出结果就自动终止回到命令提示行了是怎么回事:
  • ¥15 前置放大电路与功率放大电路相连放大倍数出现问题
  • ¥30 关于<main>标签页面跳转的问题
  • ¥80 部署运行web自动化项目
  • ¥15 腾讯云如何建立同一个项目中物模型之间的联系
  • ¥30 VMware 云桌面水印如何添加
  • ¥15 用ns3仿真出5G核心网网元
  • ¥15 matlab答疑 关于海上风电的爬坡事件检测
  • ¥88 python部署量化回测异常问题