title: Python - Invalid appsecret_proof provided in the API argument Account Kit
body: <p>In the Facebook docs they have mentioned that access_token consist of</p>
  
  <p>AA|facebook_app_id|app_secret</p>
  
  <p><a href="https://developers.facebook.com/docs/accountkit/graphapi" rel="nofollow noreferrer">https://developers.facebook.com/docs/accountkit/graphapi</a></p>
  
  <p>And the appsecret_proof is hash of access token using app secret as key</p>
  
  <p><code>appsecret_proof = hmac.new((app_secret).encode('ascii'), msg=access_token.encode('ascii'), digestmod=hashlib.sha256).hexdigest()</code></p>
  
  <p>So I am using the above generated appsecret_proof to call to the endpoint</p>
  
  <p><a href="https://graph.accountkit.com/v1.1/me/?access_token=" rel="nofollow noreferrer">https://graph.accountkit.com/v1.1/me/?access_token=</a></p>
  
  <p>with appsecret_proof as the second parameter. But still I am getting Invalid AppSecret_proof provided in API argument </p>