[SOLVED] Why can't people connect with Facebook?

8 years 1 month ago - 8 years 1 month ago #186994 by Team_CSC_Ulrik
Problem solved:
see the solution below


I have install: CB Facebook Connect, and followed the guide: cbfacebook_1.8.pdf
so I can connect to my website with Facebook. Everytime I (the admin on the site and the app), connect to my site, I don't have any problems.

But, if any other person try to connect, they will get this error:
An error occurred. Please try again later.

If I copy the link from the error they get, and go to the error link, I get this information:

An error occurred. Please try again later.
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 don't understand the problem, because I don't have any problems,
when I connect, it is any other else who have the problem.

How do I fix this problem, so everyone can login with Facebook?

I have:
Joomla 1.7.3
CB 1.7.1

Problem solved:

1. Go to https://developers.facebook.com/apps
2. Edit your App
3. Change site url from http://mysite.com to http://www.mysite.com
4. Click save

That was my problem. I only had http:// on my site url, but no connect problems with Facebook. But After I change it to http://www, it seems that people can connect with Facebook.

But if I visit my site with: http://mysite.com - then I can't connect.
If i visit the site with: www.mysite.com - Can I connect with no any problems.

That is something I don't understand, because the link in the App is: http://www.mysite.com
8 years 1 month ago #187025 by krileon
www.example.com does not equal example.com . www is a subdomain (why everyone adopted this usage is beyond me). In other words they're 2 different domains. Facebook is very strict on domain matching. You can try within your Facebook application setting the domain to example.com while the website URL is www.example.com and believe that should allow with or without www.

Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
Please note I am available Monday - Friday from 8:00 AM EST to 4:00 PM EST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
8 years 1 month ago - 8 years 1 month ago #187034 by Team_CSC_Ulrik
Thanks for your answer.

I have tried to change the App options to example.com, but Facebook will not allowed that:

Site URL must begin with http or https.

I think I just leave it at http://www.example.com/ , and makes people aware of CB Login box that www is required for login with Facebook.

Thanks for your time :)
Moderators: beatnantkrileon
Time to create page: 0.420 seconds

Facebook Twitter LinkedIn