使用 Facebook App Scope ID 获取 Facebook 用户 ID [英] Get Facebook User ID with Facebook App Scope ID

查看:37
本文介绍了使用 Facebook App Scope ID 获取 Facebook 用户 ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从 facebook 应用范围 id 中获取原始 facebook id?

Is it possible to get origin facebook id from facebook app scope id?

我有 2 个应用程序共享同一个数据库,因此用户只需在一个应用程序中注册即可同时登录这两个应用程序.这一直有效,直到 facebook 将他们的 api 从 1.0 更新到 2.0.现在,每个用户都将拥有不同的 fb 范围 ID.我不能再对同一个用户 obj 使用 fb id 引用.

I have 2 apps that shares the same database, so that user only need to sign up in one app in order to login both. This was working until facebook update their api from 1.0 to 2.0. Now, each user will have different fb scope id in each of them. I can't use fb id reference to the same user obj anymore.

推荐答案

您将无法获得全局用户 ID.但是还有其他方法可以知道.这一切都在 https://developers.facebook.com/docs/apps/for 中进行了描述-业务

You will not be able to get the global user id. But there are other methods to be able to know. And it is all described at https://developers.facebook.com/docs/apps/for-business

这篇关于使用 Facebook App Scope ID 获取 Facebook 用户 ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆