why do I get “Invalid appsecret_proof provided in the API argument”

前端 未结 13 1378
无人共我
无人共我 2020-12-16 09:24

Since the latest change on Facebook, regarding the appsecret_proof: https://developers.facebook.com/docs/reference/api/securing-graph-api/, we are still unable to download p

13条回答
  •  悲哀的现实
    2020-12-16 09:44

    There is a bug in the Facebook SDK. After 20 hours of trying everything to debug my own code (which had no issues!), I commented this out in base_facebook.php:

    /* Commented out by SJ 
        if (isset($params['access_token'])) {
          $params['appsecret_proof'] = $this->getAppSecretProof($params['access_token']);
        }
    */
    

    And all the problems went away!

提交回复
热议问题