根据位置显示具有独特内容的选项卡
许多营销文章建议在“显示”选项卡中使用优惠券作为激励措施,但我不知道如何防止喜欢您页面的人通过反复访问来滥用优惠券。
在我的应用程序中,我想提供一张优惠券,用户仅在第一次喜欢某个页面时才能看到该优惠券。之前访问过该页面的用户将无法再次访问该页面。
我还想根据位置限制谁可以看到它。
Lots of marketing articles suggest using a coupon as an incentive in a reveal tab, but I don't see how you would prevent people who have liked your page from abusing the coupon by accessing it over and over.
In my app, I want to offer a coupon that the user sees only the first time they like a page. Users who have been to that page before would not be able to access it again.
I also want to limit who can see it based on location.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您的 iframe 粉丝页面呈现时,Facebook 会使用signed_request post 参数向您的页面发送一个 HTTP POSt。如果您解码它,您将获得有关他们是否喜欢您的页面以及哪个国家/地区的详细信息/他们来自的语言。如果国家/地区适合您,那么您就已经为该部分做好了准备。根据 Facebook 发送的匿名信息,无法限制优惠券只能被查看。您需要创建一个应用程序并让用户批准您的应用程序,以便您可以获得他们的 ID 并记录他们已看到它。这也将为您提供有关它们所在位置的更多详细信息。
When your iframe fan page is rendered, Facebook sents an HTTP POSt to your page with a signed_request post parameter. If you decode it, you will get details about whether they like your page and what country/language they are from. If country works for you, then you are all set for that part. Restricting the coupon to only being viewed is not possible based on the anonymous information Facebook sends. You would need to create an application and have the user approve your application so you can get their ID and log that they have seen it. This would also give you more detailed information about where they are located.