Topic-icon Instagram login error message 400

7 years 5 months ago - 7 years 5 months ago #60192 by rikbro
I've got Facebook, Google+, LinkedIn, and Twitter logins working fine on our site.

Now I'm trying to get Instagram setup and am testing it in the sandbox mode. However, when testing my Instagram login I get the following error login error message:

{"code": 400, "error_type": "OAuthException", "error_message": "Redirect URI does not match registered redirect URI"}

I've tried a variety of urls without success for both my website and the redirect.

Joomla is located within a subdirectory of our website as follows:

http://www.[domain].com/en/

We use a Joomla template so there is nothing related to Joomla on our base domain page (http://www.[domain].com).

We prefer people to login to our JomSocial community area located at http://www.[domain].com/en/community.

For Instagram, I've tried all of the following website urls:

http://www.[domain].com
http://www.[domain].com/en/ (where Joomla is located)
http://www.[domain].com/en/community/ (where JomSocial is located)

I've tried the following redirect url:

http://www.[domain].com/en/community/index.php (where JomSocial is located)

What might I be doing wrong.

Thanks. -- Rik

PS: Using the latest versions of Joomla & JFBConnect
Last edit: 7 years 5 months ago by rikbro.
The topic has been locked.
Support Specialist
7 years 5 months ago #60198 by mel
Make sure you have index.php on the end for the redirect and the / on the end for the website URL.

I would suggest trying these two in your application, without the community path:

Website URL: www.yourdomain.com/en/
Redirect URL: www.yourdomain.com/en/index.php

Let me know if this helps.

-Melissa
The topic has been locked.
7 years 5 months ago #60200 by rikbro
Melissa:

It's now working exactly as you specified above. Thanks.!

Also, regarding the screen capture video that Instagram requires, I simply just capture my own login process for them?

Thanks! -- Rik
The topic has been locked.
Support Specialist
7 years 5 months ago #60206 by alzander

Also, regarding the screen capture video that Instagram requires, I simply just capture my own login process for them?

That's correct. You can even do it with a cell phone aimed at your computer. Don't need anything special.

The main points to capture are:
* The login process (to make sure users know they're logging in with Instagram and there's no trickery there)
* Any profile screen that you have for the user

I hope that helps,
Alex
The topic has been locked.