问题描述
我了解同一用户在不同页面上将具有不同的页面范围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.
https://developers.facebook.com/docs/messenger -platform/webhook-reference#format
这篇关于Facebook Messenger页面范围的ID在全球范围内是唯一的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!