Topic-icon API ERROR 191

Active Subscriptions:

None
12 years 10 months ago #11229 by fb_100000723589197
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

I get everytime this Error, if i will log in.

Whats my Problem, what i have to do?
The topic has been locked.
Support Specialist
12 years 10 months ago #11230 by alzander
Replied by alzander on topic API ERROR 191
That error occurs when Facebook thinks that your site is trying to redirect to a page that's not owned by your application. Basically, if your website is at www.site.com, you should have the following settings in your Facebook application:
Site URL: www.site.com/
Base (or Domain) URL: site.com

If your site is trying to send the user to www.site2.com/ after they register, Facebook will detect this as a problem, and throw that error. The Domain URL above lets you send the user to www.site.com, sub.site.com or site.com, in case you use subdomains.

Finally, I just tried to register through Facebook on your site, and did not get the Facebook API Error message. However, I did receive the following error after giving my username, email address, and password:

Fatal error: require_once() [function.require]: Failed opening required '/XXXX/components/com_user/controller.php' (include_path='.:/opt/RZphp5/includes') in /XXXX/components/com_jfbconnect/controllers/loginregister.php on line 29


My email address was automatically from Facebook, so that means communication seems to be going well. However, I've never seen that error before, and its indicating that a file of Joomla core (the core User manager controller file) is missing. That's not normal or good at all. Have you modified Joomla in any way?

Thanks,
Alex
The topic has been locked.
Support Specialist
12 years 10 months ago #11231 by alzander
Replied by alzander on topic API ERROR 191
Daniel,
Scratch that all. I just realized you gave me administrator access to your site and I looked around a lot more. You have the Joomla 1.5 version of JFBConnect installed on your site, which is probably the cause of a lot of the problems above.

Please download and install the Joomla 1.6 version from the "My Subscriptions" area. You don't need to uninstall first, and all of your settings will be retained, so this shouldn't be too much of a hassle.

This should fix you right up.

Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #11296 by fb_100000723589197
Replied by fb_100000723589197 on topic API ERROR 191
Hy, i dont know. But i am a plug and play user. I dont have modifed joomla. Only i have installed plugins, components an modules. you can see them in backend.

The error is not on www.dieauberge.de
the error comes on the site www.hotel-am-kunoturm-saarburg.de

i installed the version for 1.6 because i get the 1.6 version from your download area
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #11297 by fb_100000723589197
Replied by fb_100000723589197 on topic API ERROR 191
And i dont understand the error from you, becaus if i log in from the site www.dieauberge.de with your facebookbutton. it works.

it open a window with this message: i give the facebook name press login and it logs in and works

Willkommen Daniel!

COM_JFBCONNECT_THANKS_FOR_SIGNING_IN
Anmelden

Wenn Sie schon einen Account haben, loggen Sie sich einfach hier ein, und wir verbinden Sie dann mit Ihrem Facebook-Account.

Benutzername:
Passwort:

Registrieren

Füllen Sie die folgenden Felder aus, um einen Account zu erstellen. Wir importieren automatisch Ihren Avatar und Ihre Profilinformationen aus Facebook.
Benutzername:

Emailadresse:

Passwort:
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #12760 by marsne
Replied by marsne on topic API ERROR 191
I have just installed 3.4.1 and enabled the login module. I'm running Joomla 1.7.0. When I select "login with facebook" I get this error. I have set up my application with the url msneadfamily.com. My hosting is set to strip 'www'. I've also entered the domain as msneadfamily.com in the facebook app.
The configuration panel recognizes the app. I put in an echo of the url in the helper just before it encodes it and it reads msneadfamily.com

I seem to be missing something, any ideas?
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #12761 by marsne
Replied by marsne on topic API ERROR 191
Quick update. I'm using Shape5 Callie_rush template. Seems to be a template problem, when I switched to beez5, it worked fine. I'll follow up with Shape5.
The topic has been locked.
Support Specialist
12 years 8 months ago #12762 by alzander
Replied by alzander on topic API ERROR 191
Mark,
If you look at the HTML on the page, and search for "all.js", you'll find it twice. First is ours, the second is from another extension. It's re-including the Facebook library and also adding a different Facebook application ID.

That's the problem. If that's from the template, remove it. It may be from another extension that only shows up in that template though. Either way, once you remove the conflicting extension, you should be good to go. If there's features you need from the other extension, just let us know, as likely we have similar functionality or can help you implement a workaround to make both extensions play nicely together.

Thanks, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #12764 by marsne
Replied by marsne on topic API ERROR 191
Perfect! It was actually my own "Like" module. I'll use yours now and all should be good!
The topic has been locked.
Support Specialist
12 years 8 months ago #12770 by alzander
Replied by alzander on topic API ERROR 191
Awesome! Glad to hear it worked.. and was a pretty easy fix. We like those :) Should you run into anything else, just let us know.

Finally, please consider leaving a rating and review on the JED for JFBConnect and/or our support. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks, and good luck,
Alex
The topic has been locked.