Closed youyi1314 closed 7 years ago
Hi @youyi1314
I have no idea why need appsecret_proof
.
I didn't see to use it on Messenger platform.
@CasperLaiTW this is Facebook Api Security setting you may check out here: https://developers.facebook.com/docs/graph-api/securing-requests
Thank you
I will review it and check how is working. Looking like have to turn on Require App Secret
.
I will test if turn off and added appsecret_proof
- then what's happened
sure, I tested before, it work both enable or disable. If disable it just ignore (appsecret_proof). Thanks
Sorry that i dont know how to pull requests. below is what to update: Added [appsecret_proof] after [access_token] to Contracts/Bot.php
'appsecret_proof' => hash_hmac('sha256', $this->token, getenv('FACEBOOK_APP_SECRET')),
Noted: getenv('FACEBOOK_APP_SECRET') is app secretAdded Hide Share Button at Messages/UrlButton.php
https://github.com/CasperLaiTW/laravel-fb-messenger/pull/66/files#diff-e9843cfb4dc44a8337e65ebdbc948b5b
Below is my custom some feature at Collections/ButtonCollection.php
Thanks