Hey Zoe!
I appreciate the feedback. Just for my own troubleshooting – do you access your dashboard via https? Sometimes the browser doesn’t like trying to send auth requests from https to http.
Thanks for the info,
mr_speer
Nope, that site was not using https. I was using Chrome (latest version) on a Mac running Mavericks. Everything in the install had just been updated to the latest versions (plugins, core, etc.). I think I checked dev tools and didn’t see any errors, either, but I can’t remember for sure.
Hi. I have same issue.
It’s part of html source code:
<iframe width="100%" src="http://*******/wp-admin/admin-ajax.php?action=register_instagram"</iframe>
Iframe tag not closed correctly. Maybe it caused this bug.
Hey all,
Looks like it’s actually due to a slight change in the API that doesn’t allow redirects to occur within an iframe. I’ll post a quick fix to cause it to open in a new window for now and then get a permanent fix in place asap.
I’ll also fix that iframe tag; thanks for the catch!
New version updated! Includes a fix for the Authorize button and an error with de-activation. Update asap to apply the fix.
Thanks, mr_speer!
But bug with iframe tag still present. Maybe, you forgot this.
Ah yes you are correct. Updated and fixed in 1.0.3!
1.0.3 seems to have fixed this; marking it as resolved.
Not sure if it’s related, but I seem to be having this issue on the latest version (downloaded and installed today).
I’ve registered the application with Instagram, entered the details and attempted to ‘Login to Instagram’. When I click the ‘Authorize’ button, it’s redirecting me to http://www.example.co.uk/wp-admin/admin-ajax.php?action=register_instagram as expected, but the page is blank and it fails to authorize correctly.
Tried in Safari and Chrome on Mac OSX.
Hmm, interesting. When it redirects you to the register_instagram page, does it have the authorization code appended to the URL?
Yes it does indeed.
The site is only hosted on http, not sure if that could cause any issues.
Happy to provide further details if needed.
Hmm that is a bit perplexing. Do you have other plugins installed on your site? I wonder if maybe one of them is causing some sort of conflict. You could try disabling them and seeing if that solves it.
I did just try running the auth process with a couple of different Instagram accounts, both on http and https and didn’t seem to run into any issue, so I think it’s probably something to do with your specific WP setup.
If you’d really like to debug the issue, you could enable WordPress’ debug log and see if it registers any errant scripts during the auth process. I’ve found that to be immensely helpful.
One last question – after you authorize and it takes you to a blank page, what happens if you re-visit the Simple Instagram settings page? Does step 3 still show the “Login with Instagram” button, or does it show any sort of error?
Thanks for the information!
mr_speer