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 2024-五一综合模拟赛
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭