If you receive an error message when trying to display your posts then you can use the table below to diagnose the issue and find the relevant solution.
|API Error 400: The access_token provided is invalid.||
|Error: No posts found||
|Connection Error: http_request_failed||
#1 – Your Access Token is either incorrect, invalid or expired
If your feed stops retrieving new posts your access token may have expired. This is something that Instagram does with no clear reason.
You can get a new access token on the “Configure” tab. Try clicking the big blue button or use the “Button not working?” link to get an access token on smashbaloon.com that you can enter manually. If your access token frequently expires, try creating a business account using the steps in this FAQ and connecting your account as a business account.
#2 – Unable to connect an account
Some hosts have restrictions or security settings to prevent remote requests to other websites.
Usually they can fix this or make an exception for your site. Try contacting your host with a message like this:
It looks like our Instagram plugin is encountering an error when trying to connect to the Instagram API. The developers asked us to contact you and mention that we are seeing the error http_request_failed – cURL error 7: Failed to connect to api.instagram.com port 443: Connection timed out when trying to make remote connections to api.instagram.com/.
#3 – Unable to connect to the Instagram/Facebook API
Your server may not be connected to the internet or your host may be blocking the connection. If you are using a local development environment, make sure you are connected to the internet.
#4 – Your account has a lot of IGTV posts
Instagram does not yet support IGTV posts in its API. However, these posts are still counted in the API request even if they aren’t returned. This can lead to the plugin thinking there are no posts available if all recent posts are IGTV posts.
To fix this issue, go to the “Customize” tab inside the settings page for “Instagram Feed” and find the setting “API request size” and raise it to 25 or more depending on how often you use IGTV posts.
If you’re still having trouble displaying your posts after trying the common issues above then please contact support for assistance.