<分区>
我创建了一个 Facebook 页面,我想为其添加一个所谓的 Like-Gate。问题是该页面带有时间轴,到目前为止我找到的每个教程都是针对旧的 Facebook 页面的。有没有办法用新页面创建点赞门?
<分区>
我创建了一个 Facebook 页面,我想为其添加一个所谓的 Like-Gate。问题是该页面带有时间轴,到目前为止我找到的每个教程都是针对旧的 Facebook 页面的。有没有办法用新页面创建点赞门?
最佳答案
首先,您必须创建一个通用的 facebook 应用程序: https://developers.facebook.com/apps
之后,您可以将应用程序(带有扇门逻辑)作为 Page Tab
添加到您的站点。
这里是页面选项卡的官方 facebook 教程:
https://developers.facebook.com/docs/appsonfacebook/pagetabs/
When a user selects your Page Tab, you will receive the signed_request parameter with one additional parameter, page. This parameter contains a JSON object with an id (the page id of the current page), admin (if the user is a admin of the page), and liked (if the user has liked the page). As with a Canvas Page, you will not receive all the user information accessible to your app in the signed_request until the user authorizes your app.
关于facebook - 为页面创建 Like-Gate,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9886132/