Closed IsaacBell closed 6 years ago
Hmm, this certainly sounds like it's related the new Instagram API permissions. I haven't looked closely yet to see what's allowed and what isn't. My tokens are still working, but they might have a grace period for a few months before getting shut off. Will have to look into this to get a better answer
Am having the same error deploying manually. A ton of Instagram apps were shut down earlier this summer, wouldn't be surprised if this issue is related.
Unfortunately Instagram has deprecated its platform API, added a note to the readme: https://github.com/toddwschneider/coordstagram/pull/3
Whether deploying manually or using the Heroku deployment template, Heroku eventually throws an Instagram API error during configuration. Instagram returns a 400 error, asking for an access token. From what I can tell, this is a result of Instagram's platform update.
Here's the error (here I'm using the Heroku deploy template, but building manually gives the same error):
In the code, I'm guessing the correct fix would be simple as requiring an ACCESS_TOKEN env variable and referencing it in the Instagram Item model.
However, that doesn't fix the problem on its own. I tried running initial_backfill.rake with these changes in a manual installation, and the Instagram API spits out this error:
So I'm guessing that any Instagram API Clients created from Nov. 17, 2015 onwards will need to have public content permissions to function properly.
I hope that was all worded clearly. I wish I could give more information, but I don't know a way to investigate further right now seeing as Instagram Permission Reviews aren't available until next month. Still, I hope this is helpful in some way.