msigley / WP-Instagram-API

Instagram Basic Display API plugin for Wordpress
GNU General Public License v2.0
21 stars 10 forks source link

Doesn't work anymore? #3

Closed ergopix closed 3 years ago

ergopix commented 4 years ago

I use this tool here: https://www.bejart.ch/

But for some time now, I don't have any images returned since Instagram.

Thanks!

Jonathane

msigley commented 4 years ago

The credentials on the instagram account probably changed. Deactivate and reactivate the plugin, then re-authorize your instagram account.

msigley commented 4 years ago

If this happens often, it is an indication your site isn't getting enough traffic to keep the instagram access token refresh and valid. The access token refresh works off of WP Cron, so I would recommend running WP Cron as a scheduled task as outlined here: https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/

This could also be an indication you have hit the API call limit. If this site isn't using an object cache plugin, set one up to allow instagram API calls to be cached. I maintain an object cache plugin you could use for this as well: https://github.com/msigley/WP-Simple-Object-Cache

msigley commented 4 years ago

@ergopix I identified and fixed an issue with the access token refreshing that would cause issues like what you experienced. Please try v2.0.1 and let me know if you continue to have problems.