PHP-SDK too many redirects

前端 未结 1 358
小鲜肉
小鲜肉 2020-12-19 19:33

I\'m using the PHP-SDK for Facebook and got the example to work on my localhost. However, when building a script on a server the script stays quite busy with redirecting fro

相关标签:
1条回答
  • 2020-12-19 20:09

    Recheck your app secret in your app settings https://developers.facebook.com/apps otherwise dump the session

    <?php print_r($_SESSION); ?>
    

    And lint the token returned https://developers.facebook.com/tools/debug

    Pretty sure either the token is mangled or the secret.

    If not, it's in code you haven't shown.

    0 讨论(0)
提交回复
热议问题