How to create a fan / like gate on Facebook?
问题 I am trying to create a simple fan/like gate. Where you specify one content for none fans and other content for fans (if they pressed the like button). However when I run the page in the page tab it does not return a signed request and thus there is no way for me to figure out how to do it. Can someone post a tutorial, or have a fix for this? At this point I got the following code: index.php <?php require dirname( __FILE__ ) . '/../api/facebook.php'; // Create our application instance //