Hi Emeric,
Please send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase.
The token expires every 60 days. Once it’s expired you can’t regenerate it, so you should create a new one. We have created a CRON job that should refresh the token every 20 days. But you need to make sure that your WordPress site has a real server CRON rather than relying on WordPress CRON which can be unreliable, especially so if the site doesn’t receive many visitors.
4 months ago I asked If I could make my own cron job in order to fix this and @charaf told me you were working in a solution. Now you are telling me to make my own cronjob. Funny.
My response did not suggest that you need to create your own CRON job from scratch. As I mentioned in the reply that Stefan shared:
“We have created a CRON job that should refresh the token every 20 days. But you need to make sure that your WordPress site has a real server CRON rather than relying on WordPress CRON which can be unreliable, especially so if the site doesn’t receive many visitors.”
It’s recommended that your WordPress site uses a real server CRON because the default WordPress CRON is not a real CRON job and depends on site traffic to run, which can be unreliable. This is a general recommendation for any WordPress site, not just for our CRON job.
Yes, you should update to the latest Bricks version. We’ve created a CRON job to refresh the Instagram access token every 20 days.
The suggestion about CRON jobs isn’t specific to Bricks—it’s just general advice for WordPress sites. WordPress CRON jobs only run when someone visits the site, so they might not be reliable on low-traffic sites. Setting up a real server CRON ensures consistency, but it’s entirely optional.
This means that you would have to retrieve a new token using the new “Instagram API with Instagram Login” by Meta. We have updated the instructions in our academy article to reflect the new steps required: How to get your Instagram Access Token – Bricks Academy.
Unfortunately, this is outside of our control. But our implementation works with the new API out of the box (including token refresh after you retrieve it the first time).