Title: Instagram Access token refresh
Last modified: September 7, 2020

---

# Instagram Access token refresh

 *  Resolved [C Green](https://wordpress.org/support/users/cgreen177/)
 * (@cgreen177)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/instagram-access-token-refresh/)
 * 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](https://wordpress.org/support/users/cgreen177/)
 * (@cgreen177)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/instagram-access-token-refresh/#post-13377875)
 * 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](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/instagram-access-token-refresh/#post-13380232)
 * Hi [@cgreen177](https://wordpress.org/support/users/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](https://wordpress.org/support/users/cgreen177/)
 * (@cgreen177)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/instagram-access-token-refresh/#post-13382338)
 * 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](https://wordpress.org/support/users/cgreen177/)
 * (@cgreen177)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/instagram-access-token-refresh/#post-13386049)
 * 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/](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](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/instagram-access-token-refresh/#post-13391225)
 * Hi [@cgreen177](https://wordpress.org/support/users/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](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/instagram-access-token-refresh/#post-14132696)
 * Hi [@cgreen177](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/getwid/assets/icon.svg?rev=2238400)
 * [Getwid - Gutenberg Blocks](https://wordpress.org/plugins/getwid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/getwid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/getwid/)
 * [Active Topics](https://wordpress.org/support/plugin/getwid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/getwid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/getwid/reviews/)

## Tags

 * [instagram](https://wordpress.org/support/topic-tag/instagram/)

 * 6 replies
 * 2 participants
 * Last reply from: [dimned](https://wordpress.org/support/users/dimned/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/instagram-access-token-refresh/#post-14132696)
 * Status: resolved