且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何确定哪个Facebook页面已安装我的“页面”选项卡

更新时间:2023-12-02 16:10:10

它作为signed_request的一部分传递给您的应用程序,它被称为页面:

it is passed as a part of a signed_request to your app, it is called "page":


页面id字符串,如果
用户喜欢该页面,则喜欢的布尔值,如果用户是管理员,则为布尔值。
仅当您的应用程序是在页面选项卡中加载的iframe时才可用。

A JSON object containing the page id string, the liked boolean if the user has liked the page, the admin boolean if the user is an admin. Only available if your app is an iframe loaded in a Page tab.

https://developers.facebook.com/docs/authentication/signed_request/