[facebook app]有什么方法可以从选项卡中获取 user_id 吗?

发布于 2024-10-03 20:59:54 字数 182 浏览 0 评论 0原文

我正在尝试从选项卡中获取 user_id 。 我发现 params["signed_request"] 会给我一些有关 user_id 的信息。 我尝试过。 但事实上, params["signed_request"] 给了我错误的值。 它返回的是 profile_id 而不是 user_id。 无论如何,我可以从选项卡中获取 user_id 吗?

I'm trying to get user_id from the tab.
I found out the params["signed_request"] will give me some info about the user_id.
And I tried.
But, in fact , params["signed_request"] gave me the wrong value.
It returned the profile_id instead of user_id.
Is there anyway I can get the user_id from tab?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

并安 2024-10-10 20:59:54

您只能在用户与选项卡交互后才能获取用户的 ID。

You can only get a user's ID after they have interacted with the tab.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文