Generate “never-expire” access token for Facebook Page

后端 未结 12 1918
猫巷女王i
猫巷女王i 2020-11-28 19:49

I have managed to post to Facebook Page via API (C#), but when administrator of the page logs out, the following error occurs:

\"(OAuthException - #190) Error valida

12条回答
  •  不知归路
    2020-11-28 20:27

    You can generate never expiring access token without coding, following this instructions:

    1. Open graph Explorer: https://developers.facebook.com/tools/explorer/.
    2. Choose your application from the right corner dropdown.
    3. From "Get Token" dropdown choose your Fan Page.
    4. Click on submit button to generate token.
    5. From the left side on "Search for a field" enter access_token and click submit again. Copy this token from the main window.
    6. Open https://developers.facebook.com/tools/debug/accesstoken and paste token here. Click "Debug".
    7. Click the button "Extend Access Token". This will generate never expiring token.

提交回复
热议问题