Subscribe to our Forum RSS Feed to follow all forum topics.

Cross-Domain Receiver Error - Ensure callback URL is correct

The place to discuss integration of JFBConnect into your site. Whether it's modules to extend core-functionality, the setup of the component itself or creating your own Facebook API key, get your questions answered here.

Moderator: sourcecoast

Forum rules
This forum has moved to SourceCoast's extension site. Please visit their forum to post new topics.
If you have posted in this forum previously, your account was copied as well. Please use this link to create a new password to login there.

Cross-Domain Receiver Error - Ensure callback URL is correct

Postby sourcecoast on Wed Mar 11, 2009 1:01 pm

There have been some posts that describe an error similar to the one below when using the Login module (along with others):

The Facebook Connect cross-domain receiver URL (http://SITENAME.com/index.php?opt ... .535%22%7D) must have the application's Connect URL (http://www.SITENAME.com/) as a prefix. You can configure the Connect URL in the Application Settings Editor.


This happens when you set the callback URL to use www and the site responds to the non-www version of the site (or vice versa).

You must set up your site to redirect the root of your domain to the callback you specify in your Callback URL. This is not only necessary for FB Connect, but also great for SEO purposes.

There are many ways to do this within different SEO components or the .htaccess file itself. In either case, it's important that you test your site both with and without www to ensure it functions properly:
SH404
- In the Configuration panel, go to the "Advanced" tab.
- Ensure the setting "301 redirect www/non-www" is set to Yes

.htaccess
The below code snippet comes from this page about half-way down in the section "301 Redirect Using Mod_Rewrite". Add the following line to your .htaccess file. Some/all of these lines may already be in there, so search to see if they are there first:
Code: Select all
RewriteEngine On
rewritecond %{http_host} ^yoursite.com
rewriteRule ^(.*) http://www.yoursite.com/$1 [R=301,L]
Last edited by sourcecoast on Sun Jul 05, 2009 5:13 pm, edited 1 time in total.
User avatar
sourcecoast
 
Posts: 839
Joined: Mon Dec 01, 2008 8:57 pm
Location: Austin, TX

Re: Ensure your page redirects to your exact FB Callback URL

Postby paz on Wed Mar 18, 2009 3:21 am

Um, is this assuming the sh404SEF on a J1.5 is using the old 1.0 sh404SEF in legacy mode? The new beta 1.016 doesnt have such tab...
paz
 
Posts: 1
Joined: Tue Mar 17, 2009 5:29 am

Re: Ensure your page redirects to your exact FB Callback URL

Postby sourcecoast on Wed Mar 18, 2009 10:48 am

Yes it does :) When you go to the main SH404 page, in the top right theres a big blue bar that says
Click here to switch to extended display (with all available parameters)


Make sure you click that.
User avatar
sourcecoast
 
Posts: 839
Joined: Mon Dec 01, 2008 8:57 pm
Location: Austin, TX

Re: Ensure your page redirects to your exact FB Callback URL

Postby partha06 on Thu Mar 26, 2009 12:02 am

I think, my error was for SEO generator plaguin. I disable it & Its works fine.. :)
partha06
 
Posts: 8
Joined: Sat Mar 21, 2009 12:34 pm

Re: Ensure your page redirects to your exact FB Callback URL

Postby partha06 on Thu Mar 26, 2009 5:53 am

hi,

i installed jfb login ,module, and it worked fine before with joomsocial , now when i click register this site its redirect to http://www.kol-how-opensug-openjug.org/index.php?option=com_user&view=login&return=aHR0cDovL3d3dy5rb2wtaG93LW9wZW5zdWctb3Blbmp1Zy5vcmcvaW5kZXgucGhwP29wdGlvbj1jb21fY29tbXVuaXR5JnZpZXc9cmVnaXN0ZXImSXRlbWlkPTc4 this page. donot know why, pls help

thanks

Partha
partha06
 
Posts: 8
Joined: Sat Mar 21, 2009 12:34 pm

Re: Ensure your page redirects to your exact FB Callback URL

Postby solankie on Thu Apr 16, 2009 12:30 am

What would be good questions to ask an SEO Company? To be sure I choose a reliable SEO, what questions could I ask to feel more confident it is the right one? If I ask "how or what" then obviously they keep it vague (which i understand, nobody wants to actually TELL the techniques).
solankie
 
Posts: 1
Joined: Tue Apr 14, 2009 1:17 am

Re: Ensure your page redirects to your exact FB Callback URL

Postby ali_zamanian on Sat Apr 25, 2009 2:15 pm

HAve the same problem here, Fixed the error , when i login through my facebook account it redirects me to a page 403 http error.
ali_zamanian
 
Posts: 5
Joined: Wed Apr 22, 2009 12:15 am

Re: Ensure your page redirects to your exact FB Callback URL

Postby sourcecoast on Sun Apr 26, 2009 12:16 pm

Ali,
Stop posting your problem in every thread. This one is not related to your issue at all and it causes confusion.
User avatar
sourcecoast
 
Posts: 839
Joined: Mon Dec 01, 2008 8:57 pm
Location: Austin, TX

Re: Ensure your page redirects to your exact FB Callback URL

Postby vpopovic on Fri May 15, 2009 4:31 pm

ok in sh404SEF 301 thing is set to "YES" i still get this message

Invalid Argument

The Facebook Connect cross-domain receiver URL (http://rugbyleaguespace.com/index.php?o ... .005%22%7D) must have the application's Connect URL (http://rugbyleaguespace.com/index.php?o ... &Itemid=53) as a prefix. You can configure the Connect URL in the Application Settings Editor.
vpopovic
 
Posts: 7
Joined: Mon May 11, 2009 1:37 pm

Re: Cross-Domain Receiver Error - Ensure callback URL is correct

Postby lazlo on Fri Sep 18, 2009 4:14 pm

I need help understanding this statement:

The Facebook Connect cross-domain receiver URL (http://SITENAME.com/index.php?opt ... .535%22%7D) must have the application's Connect URL (http://www.SITENAME.com/) as a prefix. You can configure the Connect URL in the Application Settings Editor.


Where do you set the FB cross-domain receiver URL? In the xd_receiver.htm file itself?

Should it look like this?

(http://www.SITENAME.com/http://SITENAME ... ex.php?opt ... .535%22%7D)

My connect URL is configured http://www.SITENAME.com/ in the FB application settings editor.

Thanks in advance.
Laz

www.JasonsFitKitchen.com
lazlo
 
Posts: 7
Joined: Fri Mar 27, 2009 2:51 pm

Next

Return to JFBConnect

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests