我如何在我的 WordPress 中使用 facebook 来显示帖子?
我想使用 facebook like 按钮和 if 语句。在显示帖子之前,我希望用户首先单击“喜欢”按钮才能查看该帖子。我怎样才能做到这一点?
I want to use the facebook like button us an if statement. before show a post i want first the user click the like button in order to see the post. how i can do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
CodeCanyon 上出售的 PHP 脚本正是这样做的:
http://codecanyon.net/item/wordpress-like -locker-like-to-read-plugin/166051
There's a PHP script for sale on CodeCanyon that does exactly that:
http://codecanyon.net/item/wordpress-like-locker-like-to-read-plugin/166051
我不相信这是可能的。事实上,它可能违反 Facebook 的服务条款。相反,请考虑添加类似 Facebook 的插件并将其显示在帖子的顶部。
I don't believe that's possible. In fact, it might violate Facebook's Terms of Service. Rather, consider adding the Facebook like plugin and have it display at the top of the post.
读者请注意:如果您正在寻找此文件的下载,可以在此处获取:http://codecanyon.net/item/wordpress-like-locker-like-to-read-plugin/166051?ref=tylerquinn
我是这个的开发者高级 WordPress 插件,我只是想让您知道,通过 CodeCanyon 下载该插件后,您可以立即访问该插件、支持和免费更新。
它确实符合 Facebook 的服务条款,并且不是 Facebook 所不赞成的点击劫持方法。
Note to Readers: If you are looking for the download to this file you can grab it here: http://codecanyon.net/item/wordpress-like-locker-like-to-read-plugin/166051?ref=tylerquinn
I am the developer of this premium WordPress plugin, I just wanted to let you know you can get instant access to the plugin, support, and free updates when download it through CodeCanyon.
It does comply with Facebook's TOS, and is NOT a method of click jacking which is what facebook frowns upon.