• Resolved C Green

    (@cgreen177)


    Hi there

    I’m reading that instagram access tokens now expire every 60 days. I understand that there’s a refresh_token endpoint that can be called, but in order to do that I think I need a client ID and Secret.

    What I want to do is set up a cron job to refresh the token behind the scenes, rather than have to log into every website that uses an instagram gallery and manually click on ‘refresh token’ …

    Would you be able to tell me how to extract the client ID and secret from my wordpress DB? I *think* I should then be able to use curl to call the endpoint and refresh the token …

    TYIA

    Corrine

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter C Green

    (@cgreen177)

    Edit: I see at least one of your competitors (social feed gallery) is working on an auto refresh of access tokens for their free and premium plugins. Any similar plans for getwid?

    I see you have an option to manually refresh – is there a way to write some code to call that in any way?

    Plugin Support dimned

    (@dimned)

    Hi @cgreen177, you may check what is executed at a token refresh of our plugin and try to add this action to the cron
    Thanks for your suggestion though.

    Thread Starter C Green

    (@cgreen177)

    Ah in that case I’ll pass and use one of your competitor products in this case, thanks! They either already auto-update access tokens or have plans to implement that functionality anyway.

    Thread Starter C Green

    (@cgreen177)

    Final word (I’m just writing up my options): You know you’re own Instagram plugin page is broken, right?

    https://getwid.getmotopress.com/blocks/instagram-block/

    I get 403s for all your pictures with a response saying ‘URL signature expired’ … Nothing to do with you not refreshing your access token, I’m sure …

    Thought I’d let you know 🙂

    Plugin Support dimned

    (@dimned)

    Hi @cgreen177,
    Thanks for reporting this. There is an option of a manual token refresh. Anyway, we’ll take your advice into consideration. Thanks

    Plugin Support dimned

    (@dimned)

    Hi @cgreen177,
    We have released an updated version go Getwid where we have added the ability to automatically refresh Instagram access token. There is no need to refresh the token manually. Thanks for your feedback and suggestion.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Instagram Access token refresh’ is closed to new replies.