FQL returns “Requires valid signature”

前端 未结 1 1636
陌清茗
陌清茗 2021-01-25 23:13

I am having a wierd problem, things that worked before stopped working today, maybe it was bad before but now after the oAUTH 2 change, I am having troubles with a near producti

相关标签:
1条回答
  • 2021-01-26 00:08

    This means the access token you are using is invalid. It has probably expired.

    Here's a quote from the docs at http://developers.facebook.com/docs/authentication/:

    In addition to the access token (the access_token parameter), the response contains the number of seconds until the token expires (the expires parameter). Once the token expires, you will need to re-run the steps above to generate a new code and access_token, although if the user has already authorized your app, they will not be prompted to do so again. If your app needs an access token with an infinite expiry time (perhaps to take actions on the user's behalf after they are not using your app), you can request the offline_access permission.

    So you should re-run the steps to generate an access token, or require the offline_access permission.

    0 讨论(0)
提交回复
热议问题