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 脱敏项目合作,ner需求合作
  • ¥15 脱敏项目合作,ner需求合作
  • ¥30 Matlab打开默认名称带有/的光谱数据
  • ¥50 easyExcel模板 动态单元格合并列
  • ¥15 res.rows如何取值使用
  • ¥15 在odoo17开发环境中,怎么实现库存管理系统,或独立模块设计与AGV小车对接?开发方面应如何设计和开发?请详细解释MES或WMS在与AGV小车对接时需完成的设计和开发
  • ¥15 CSP算法实现EEG特征提取,哪一步错了?
  • ¥15 游戏盾如何溯源服务器真实ip?需要30个字。后面的字是凑数的
  • ¥15 vue3前端取消收藏的不会引用collectId
  • ¥15 delphi7 HMAC_SHA256方式加密