Facebook Messenger页面范围的ID在全球范围内是唯一的吗? [英] Are Facebook Messenger page-scoped IDs globally unique?

查看:173
本文介绍了Facebook Messenger页面范围的ID在全球范围内是唯一的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解同一用户在不同页面上将具有不同的页面范围ID(PSID).但是是否保证没有两个用户在不同页面上拥有相同的PSID?

I understand that the same user will have different page-scoped IDs (PSIDs) across different pages. But is it guaranteed that no two users will have the same PSID across different pages?

例如,用户A在消息页面X时是否具有PSID 1234,而用户B在消息页面Y时具有相同的PSID 1234?

For example, is it possible that user A has PSID 1234 while messaging page X, and user B has the same PSID 1234 when messaging page Y?

从技术上讲,即使用户A和用户B具有相同的PSID,也将是可区分的,因为他们在向不同的页面发送消息.但是我可以假设所有页面上的PSID都不会重叠,因此无论特定页面如何,我都可以将PSID用作全局唯一ID.

Technically user A and user B would be differentiable even if they have the same PSID because they are messaging different pages. But can I assume that there will be no overlap on PSIDs across all pages, so that I may use the PSID as a globally unique ID regardless of the particular page?

推荐答案

Facebook不保证页面范围的ID(PSID)在不同页面上是唯一的-PSID可能表示页面X上的用户A,但用户B在第Y页上.

Facebook don't guarantee the page-scoped IDs (PSIDs) to be unique across different pages - a PSID may represent user A on page X, but user B on page Y.

代表用户时,这些ID是页面范围的ID(PSID).这意味着用户ID在给定页面中是唯一的.

When representing a user, these IDs are page-scoped IDs (PSID). This means that the IDs of users are unique for a given page.

https://developers.facebook.com/docs/messenger -platform/webhook-reference#format

这篇关于Facebook Messenger页面范围的ID在全球范围内是唯一的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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