I want to use the facebook like button us an if statement. before show a post i want fi开发者_运维百科rst the user click the like button in order to see the post. how i can do this?
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
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.
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.
精彩评论