Instagram feed not working after new api code
-
Hi,
I’ve got 3 feeds at the bottom of http://www.lunnonwaste.com page (FB, Insta and Twitter) I’ve updated the new insta api code, cleared the cache and updated the page but the Instagram feed isn’t loading/showing – any ideas?The page I need help with: [log in to see the link]
-
Hi @joncoder193,
Instagram has depreciated their “Legacy API” on June 29. You will need to reacquire a new access token, create a new shortcode & replace each existing shortcode for any of your IG accounts that were using the depreciated API.
For more detailed instructions, please follow these steps:
Make sure you are running the latest version of the Feed Them Social free plugin (currently 2.8.6).
You will need to be able to log into your (or your client’s) Instagram account in order to generate an access token to display your (or your client’s) IG feed. Due to Instagram’s depreciation of their old “Legacy API”, you will need to log in and gain a new access token, then generate a new shortcode and apply the new shortcode to your page. You may also need to clear the FTS cache for the new changes to take effect.
Please start by deleting our app from within your (or your client’s) instagram account.
On the desktop, go to your Instagram account and then click the settings gear icon so you see the popup of options.
Now click on the Apps and Websites option.
Once on the next page click Remove under the Feed Them Social App.
Now go back to your WordPress dashboard, under the Feed Them > Instagram Options page in our plugin and click the button to get a new access token.
Even if you receive an error message, scroll down and click the green ‘Save All Changes’ button. Then go to the Feed Them > Settings page to generate your shortcode. Copy and paste your new shortcode to the page of your choosing.
Lastly, Try Clearing the cache by clicking to Feed Them tab > Settings > Global Options > Clear cache
Be sure to clear any other Caching plugins you may have installed also.
Let me know how it goes,
Hi Chris,
I just went through your step by step guide, but it’s still not working 🙁 Tried it a couple of times now with the same result – any other ideas?I’ve had a look at the other plugins I’m using and nothing else seems to have a cache feature to clear (Elemenator, Yoast, Smush and Feed them)
Hi @joncoder193,
Remember, you do now need to have login credentials to gain an Instagram access token.
If the previous steps did not work, it’s possible that another plugin or theme may be in conflict.
Try deactivating all other plugins besides the Feed Them Social plugins temporarily. Then test to see if it works. If this works, try reactivating them, one by one, to see which one is causing the issue.
If deactivating all plugins doesn’t help the issue try switching themes to one of the default WordPress themes then look at the page (this can be done under the Appearance tab of your install). It’s possible the theme is causing errors.
Hi,
so I’ve tried deactivating all the apps – didn’t work
and changing the theme – didn’t work 🙁I think the problem is with Instagram.
I deleted all my settings from the Feed them Social app and pressed the ‘Login and get my access token’ button (to restart the procedure) – this took me back to instagram and it knows I’m using feed the social (todays date), it gives me the choice of changing the settings (deletes feed them social with no other options) or continuing – but that just says “Sorry, you are not allowed to access this page.”
Why have Instagram made this so difficult?
Hi @joncoder193,
Facebook has recently taken over the Instagram API(s), and yes, by implementing their somewhat heavy handed privacy policy, it has become more difficult than in the past.
We have reached out to Instagram to see if any issues exist on their end, but not heard back as of yet. We have conducted testing on our end and do not see any issues regarding gaining an access token or displaying the corresponding shortcode at this time.Which version of Feed Them Social are you running? The most recent free version of FTS is 2.8.6
Do you have login credentials to the Instagram account that you are trying to display? It can also help to be logged in on another tab while trying to gain an access token. Without ownership/admin/login, you will not be able to display the feed.
On some rare occasions, we do see some users experience conflict from time to time regarding their php/host. If it’s not a login/ownership issue, please reach out to your webhost.Hi,
I’ve tried everything you’ve suggested and more, including setting up a FB business account etc and It just keeps saying no (in one form or another). I have no idea what the problem is, but for now I’m just turning the feed off, I’ll try again in a month and see if that makes a difference but with no way for me to contact FB it’s a mare.The fb and Twitter feeds both work, it’s just Insta.
Thanks for your help
Hi @joncoder193,
I believe what is happening here is that there is a conflict between the FB token and the IG token running on the same page. When using multiple FTS shortcodes on the same page, it can sometimes cause conflict. We do offer a FTS Combined Streams plugin extension to handle this.
Lastly, you may want to try using just the Instagram shortcode by itself (temporarily removing the other FTS shortcodes on the page) and seeing if it loads alright or if there’s still issues. Again, after updating/publish you may need to clear the FTS cache for the changes to take effect (Feed Them > Settings > Global Options >Clear All FTS Cache).
The topic ‘Instagram feed not working after new api code’ is closed to new replies.