Topic-icon Google SIgning in [SOLVED]

Active Subscriptions:

None
4 years 5 months ago #65800 by mauurb
Replied by mauurb on topic Google SIgning in [SOLVED]
I did everything but when I'm clicking the Instagram button I'm getting the following:

error_type "OAuthException"
code 400
error_message "Invalid Client ID"

I double checked Client ID and Secret Key and they are correct (no spaces or missing characters)

Since the site is multilingual (English-Italian) I tried with all possible combinations

www.liveviber.com/index.php
liveviber.com/index.php
www.liveviber.com/en/index.php
liveviber.com/en/index.php
www.liveviber.com/it/index.php
liveviber.com/it/index.php

But the error is always the same.

Any further suggestions?

Maurizio
The topic has been locked.
Active Subscriptions:

None
4 years 5 months ago #65801 by mauurb
Replied by mauurb on topic Google SIgning in [SOLVED]
I correctly set up Google, Facebook and Twitter, just Instagram seems not working.
The topic has been locked.
Support Specialist
4 years 5 months ago - 4 years 5 months ago #65802 by mel
Replied by mel on topic Google SIgning in [SOLVED]
We had an annoying time getting the new app set up too, so I feel your pain.

1. Make sure this is the Client ID and Client Secret from the Instagram section, not the Facebook section of the app.
2. We also got an error for an incorrect Client ID when I hadn't set up an Instagram tester role. The error was misleading, so it took me awhile to figure this out. Without one, authentication wouldn't work at all for us in development mode.

[Edited to add] The Instagram process changed in the past few weeks, so it's not as smooth as Facebook on their end. The error messages when authenticating and the app was set up incorrectly were very vague for us for several things.

-Melissa
Last edit: 4 years 5 months ago by mel.
The topic has been locked.
Active Subscriptions:

None
4 years 5 months ago #65804 by mauurb
Replied by mauurb on topic Google SIgning in [SOLVED]
So maybe the best thing to do from my part would be to skip Instagram for now waiting for an udate of your component? Or should I try again with a new app?
The topic has been locked.
Support Specialist
4 years 5 months ago #65805 by mel
Replied by mel on topic Google SIgning in [SOLVED]
I'm sorry if my last post was confusing. The latest version does support the newest Instagram applications. The troubles that I mentioned that we had were in the development of the new features, but those were overcome. As far as I know, JFBConnect works properly with the newer applications. If you want to send me a private message with screenshots of your instagram/facebook app and roles and backend credentials to your site, I can take a look if there are any glaring problems I see.
The topic has been locked.
Active Subscriptions:

None
4 years 5 months ago #65806 by mauurb
Replied by mauurb on topic Google SIgning in [SOLVED]
Ah OK. I just sent you the PM containing screenshots and backend access.

Thank you!
The topic has been locked.
Support Specialist
4 years 5 months ago #65807 by mel
Replied by mel on topic Google SIgning in [SOLVED]
Aha!. Your site is running version 8.2.3 of JFBConnect. Support for the Basic Display API of Instagram was introduced in our latest v8.3.0 release... 8.2.3 and before only supports the older Instagram applications. Please update to the latest version of JFBC, set the JFBConnect > Configuration > Instagram > Use New API setting to yes and try again.

-Melissa
The topic has been locked.
Active Subscriptions:

None
4 years 5 months ago #65809 by mauurb
Replied by mauurb on topic Google SIgning in [SOLVED]
Hi Mel, this is going to be my last (hopefully) request on this matter :)
Well, I configured Facebook, Google, Instagram and Twitter Apps/Buttons but there is still something unclear to me. Once you click, let's say Facebook (or any other button) the system does redirect you to a page where you have to insert, at lest the first time, username, password and email address. Then sistem does send you an email where you can confirm the registration. Is that correct?
I was thinking that if you click Facebook (or another) button you're automatically registered to the site without doing anything else. And I am pretty sure it was working like this when I had only the Facebook button and the 'old' verison of JFBConnect.
So may you please check how my site is working and tell me if I did something wrong?
I am sending i you some screenshots in pvt.

Thanks
Mauriizo
The topic has been locked.
Support Specialist
4 years 5 months ago #65810 by mel
Replied by mel on topic Google SIgning in [SOLVED]
JFBConnect can automatically create users if configured that way and the social network provides the necessary information back.

From your screenshots, it seems like that you have automatic registration disabled in JFBConnect. You can enable this in the JFBConnect backend > Configuration > General > User section for "Enable Automatic Registration". When enabled, JFBConnect will bypass that mini-registration view when possible. Please double-check that you have this setting enabled.

Once automatic registration is enabled, JFBConnect needs a name and email address from a social network in order to automatically create a user. It's required for a Joomla user account.

* Facebook, Google, and Twitter provide this information, so JFBConnect can automatically create the user. and skip that view. (Your screenshots show this pre-populated information, as expected).
* Instagram does NOT provide any profile information other than an ID, username and media count as described in their documentation . So when JFBConnect tries to get that info, it's not there and then has to be filled in by the user. (Your screenshot shows this as blank, also as expected).

For your reference, here's our documentation on the JFBConnect registration flow. Auto Account Creation and Mini-Registration are the sections regarding your questions here.

-Melissa
The topic has been locked.
Active Subscriptions:

None
4 years 5 months ago #65811 by mauurb
Replied by mauurb on topic Google SIgning in [SOLVED]
OK everything is clear Mel, thanks.
Just the very last question: I noticed that if I'm signin' in with Facebook, Google or Twitter my name is ok (Maurizio Urbani) but username is 'mauurb'.
But the only site where I used this username is sourcecoast.com not Facebook, Twitter or Google. So I'd like to know the reason of this.
The topic has been locked.