April 26, 2016 - JFBConnect v7.0.0 is available now, with several major features including auto-posting, Facebook profile channels and compatibility with Joomla 3.5.1. See the full changelog

API Error Code: 191

API Error Code: 191

Hi Alex,

I am getting this error in the front-end when trying to login using JFBConnect but not always and not on the home page -

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not permitted by the application configuration.

The weird thing is that If you login on the home page of my site, it always works fine....but if you login from any of the article pages (jreviews) it 'intermittently' produces this error....which means it will sometimes randomly work and more often randomly it will produce this error.

I have double checked my URLs in the FB app and in the JFBC config and they seem to be OK.

I am pretty confused as to why this could be happening.....more so as to why not consistently....Maybe i am missing something in the config....

Can you pls advise whether I could have done something wrong in the setup ?

The home page URL - http://suggestadoctor.in
An article page URL - http://suggestadoctor.in/homeopathy30/5 … wan-mohsin

Thanks,

Sean.

seansin
useravatar
Offline
10 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: API Error Code: 191

Sean,
My best guess is that you have other Facebook extensions or addons installed on your site. If other features are re-loading Facebook's Javascript library, it will cause you this type of grief as they can initialize it improperly. Then, when you try to login, Facebook sees the 'basic' initialization that doesn't allow login functionality and other features.

I'd recommend disabling the Share and Like buttons at the bottom of your home page and any other non-JFBConnect Facebook widgets, temporarily, and see if that helps fix the problem. If so, you can replace those widgets with the ones in our library or figure out how to tell those other extensions *not* to include the Facebook Javascript library all.js

Hope that helps get you going,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Online
22933 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: API Error Code: 191

Indeed....

Disabling ALL facebook related extensions apart from JFBC seems to have solved all problems with JFBC.

Seems a bit limiting to be forced to use Only JFBC extensions once you install it but I guess It's fine as long as I get to do what I want to.....

BTW Alex, I also had to disable a Facebook Like Box (the 'Find us on facebook' kind) while trying to troubleshoot this.....is there a FB likebox included in JFBC that i can use in its place ?

Thanks,

Sean.

seansin
useravatar
Offline
10 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: API Error Code: 191

The Like Box in JFBConnect is called the JFBCFan module. You can also use the {JFBCFan} tag if you don't want to use it in just a module position.

As for disabling others, that's honestly not always necessary. Many other extensions have the option to include the Facebook Javascript Library. If they have that option (or you're able to modify their code to remove that inclusion) you should be fine. Unfortunately, 2 loads of the Facebook library *can* cause problems. When it does, it's usually intermittent, hard to track down, and confusing in general. I wish there was some sort of compatibility mode Facebook offered, but unfortunately, they don't.

Hope that all helps explain, and best of luck!
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Online
22933 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
10670
Total Polls:
0
Total Posts:
45067
Average Posts Per Hour:
1.3
User Info
 
Total Users:
39036
Newest User:
icyclecc
Members Online:
2
Guests Online:
848

Online: 
mel, alzander
Social Stream
SourceCoast Joomla Social Extensions
Thursday, 29 September 2016
Delve into our business model, what an extension developer does, what an end-user expects, our philosophy on coupons with our blog post https://lnkd.in/eRieVzV
SourceCoast Joomla Social Extensions
Wednesday, 21 September 2016
Between August 3rd and 4th, the Joomla project put out 2 new releases for the 3.6 series and 3 blog posts explaining the changes and how to update. The rapid fire changes may be confusing, especially when reading through the announcement posts that talk about CSRF, PHP versions, security issues with different levels and other details. If you're unsure what to do, read on for a general overview of the updates and a step-by-step guide on how to update. https://lnkd.in/ejGeG9X
SourceCoast Joomla Social Extensions
Thursday, 15 September 2016
Joomla's caching system can be a huge benefit to your site, but can also cause a lot of headaches. The advantages are obvious: an overall better user experience, faster load times, less powerful server requirements and more. We're not going in-depth on the benefits here though. Read our blog post to learn about some of the pain-points that you should know about when trying to get Joomla's caching setup. https://lnkd.in/d_c_eaK
SourceCoast Joomla Social Extensions
Wednesday, 17 August 2016
Want a good explanation on what SSL is for, why you should enable it and how things have changed over the last few years? https://lnkd.in/euX2-z7
SourceCoast Joomla Social Extensions
Wednesday, 10 August 2016
With the launch of v2.0 of the Facebook Graph API over 2 years ago, a new review process was also implemented for all Facebook Applications. The review process is Facebook's way to verify that deeper integration features on your site are abiding by Facebook's Terms of Service. There's a lot to understand about the process and some of it may surprise you. Some JFBConnect features like posting to your Facebook Page usually don't even need to go through the review process. For the features that do need review, what's the process and how do you proceed? Read our blog post to find out. https://lnkd.in/eKbiwbb
SourceCoast Joomla Social Extensions
Wednesday, 03 August 2016
Using a Facebook Page Tab can be a great way to promote your site by showing content from your site within your Facebook Page. It's a powerful, yet simple, way to show a newsletter subscription form, product page or view of your blog on your Page. Well, it should be simple. Sometimes, it just doesn't work and, when it doesn't, it can be very hard to diagnose. We've worked with thousands of users to integrate Facebook with their website and want to let give out some easy pointers on where to look first. Read our blog post to find out more. https://lnkd.in/e6rmchw
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program