如何创建一个可以添加到页面并且只有点赞者才能看到的 Facebook 应用程序
我创建了一个 Facebook 页面,我想创建一个只有点赞者才能看到的竞赛应用程序。过去我可以使用 FBML 执行此操作,但自从 Facebook 停止使用 FBML 后,我似乎无法使用 IFrame 应用程序执行此操作。有人可以帮我吗?
谢谢!
I have a Facebook page that I created and I want to create a contest app that only likers can see. I was able to do this in the past using FBML but ever since Facebook has stopped using FBML, I can't seem to do this with IFrame apps. Can anyone help me out?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,我们可以为您提供指导。您可以自己开发整个产品,也可以使用预构建的产品,例如 Strutta 提供的产品(不是免费的!)。
现在,如何开发竞赛系统取决于您,但如何使其仅对粉丝可用很容易。您只需阅读
signed_request
,查找页面
参数并检查liked
字段是否设置。这是如何在 PHP 中实现:您可能需要查看 促销活动指南。
Well, we can give you guidance. You can either develop the whole thing yourself or use a pre-built product like the one provided by Strutta (not free!).
Now how to develop a contest system is up to you, but how to make it available only to fans is easy. You just need to read the
signed_request
, look for thepage
parameter and check if theliked
field is set or not. This is how to do it in PHP:You may need to take a look at the Promotions Guidelines.