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

前端 未结 13 1361
无人共我
无人共我 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:35

    Works for me:

    $appsecret_proof = hash_hmac('sha256', $facebook_page_token, $app_secret);
    

    WHERE facebook_page_token is the page token stored in my database created when I associate the page to the app.

提交回复
热议问题