facebook-graph-api Getting “Invalid OAuth access token.” after 3 https calls

后端 未结 3 365
一整个雨季
一整个雨季 2020-12-11 04:24

Hi im trying to get group wall feeds , im using desktop application to get all the feeds but after 3 https api calls im getting :

{\"error\":{\"type\":\"OAut         


        
3条回答
  •  暖寄归人
    2020-12-11 05:16

    That happened to me for hours:

    facebook-graph-api Getting “Invalid OAuth access token.”

    In my case, the application was re-directing to a local address, and the URL authorized by Facebook was not local, so Facebook was not login me in.

    The access_token for the user I was using was some old access_token kept in the script by window.sessionStorage. So I thought I was using the right access_token, but I was not.

提交回复
热议问题