PWesterdale / KirbyGram

Instagram Plugin for Kirby CMS
22 stars 3 forks source link

How to ReAuthorize with another Instagram account? #18

Open felixbridell opened 9 years ago

felixbridell commented 9 years ago

Hi. Thanks for a super nice plugin. I used one Instagram account to test the plugin and now I want do run the authorization process again to change to another account. How do I reset the plugin? When I run the installation for the second time it just give me the message that it all i set up (with the wrong account). Please help.

PWesterdale commented 9 years ago

Hi Felix - if you check the plugin directory you should have a config.json file. If you remove this file and re-authorize all should be well.

felixbridell commented 9 years ago

I tried that, but failed. I guess the problem is that I run Kirby on a local server localhost:8888/client-name/ and when i run the installer it try to redirect me to: http://localhost:8888/kirbygram/done (no client-name) which of course does not work. So I tried to visit The Kirbygram Dev Api and just got the message to create the .json file and paste the code for the wrong insta-account.

PWesterdale commented 9 years ago

Hi Felix,

Apologies, What you will need to do is go to instagram and log-out of your account - for good measure you can even remove the 'kirbygram' application from your account before you do so. The re-direction to authorise will use the account you are logged in to instagram.com with, so if you are not logged in you should be prompted to provide details, which then should return you the correct authorisation code.

Hope that helps!

felixbridell commented 9 years ago

Thank you! That worked great.

felixbridell commented 9 years ago

Well. Something still wrong. I got the new json-data but when I visit /kirbygram/done no thumbs shows up. And in my template that worked with my other Instagram account, no images showing. Any ideas?

felixbridell commented 9 years ago

It just started to work without me doing nothing...

PWesterdale commented 9 years ago

That may have been your cache files being empty and refreshing!