No documentation about AppSecret Proof for Server API calls?

孤人 提交于 2019-12-04 13:27:37

If you visit github and have a look at their PHP SDK's code, you'll find how they generate appsecret_proof's value.

This part was recently added so you have to refer to the latest version of PHP SDK. To activate/inactivate, as you already know, you have to visit App Dashboard > Setting > Advanced.

EDIT: 2013-08-09
Now they have official document.

Neil

From the documentation article Securing Graph API Requests:

The app secret proof is a sha256 hash of your access token, using the app secret as the key. Here's what the call looks like in PHP:

$appsecret_proof = hash_hmac('sha256', $access_token, $app_secret); 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!