In v2.10 of the Facebook Graph API, the following restriction was added:
App Restriction Enforcement - Specifying an access token for a user who fails the application's restrictions (such as country or age) will result in an error, unless an appsecret_proof is specified in the request.
This commit adds support for an optional app secret configuration variable that will then be hashed appropriately and included with API requests.
Coverage increased (+0.6%) to 73.946% when pulling 7181facba2214e60e14d364699300a85fd678c20 on add-app-secret into 9e02ea070771709add4495b6a6bbee030eb1d524 on master.
In v2.10 of the Facebook Graph API, the following restriction was added:
This commit adds support for an optional app secret configuration variable that will then be hashed appropriately and included with API requests.