How to create a fan / like gate on Facebook?

后端 未结 4 955
抹茶落季
抹茶落季 2021-01-17 01:14

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 th

4条回答
  •  借酒劲吻你
    2021-01-17 01:53

    Let's try this:

    1, Create a simple php file on the app root named index.php with the following code:

    ";
    print_r ($_POST);
    echo "
    "; ?>

    2, Go to your app tab, and check what is come up.

    2a, If the "POST check" message only, check the app URL on the app settings page. May be forget to close the url with / or there is a space somewhere.

    2b, If the "POST check" message followed by an array structure, something wrong with your SDK implementation.

提交回复
热议问题