Topic-icon Can JFBCONNECT be tested on localhost

Active Subscriptions:

None
Hi,

I just purchased your product. But I am testing a website on localhost first before uploading to a live server. I got the following error message on the Overview page:

WARNING: POSSIBLE MISCONFIGURATION
We suggest updating your Site URL to: mysite

Can I test at least parts of this application before going live?

Rene
The topic has been locked.
Support Specialist
12 years 8 months ago #12806 by alzander
Rene,
We do most of our development on a localhost configuration. You may run into some issues with Chrome (they can store localhost cookies strange), but other than that, you shouldn't have problems.

Since you're not using the standard port 80, you may need to play with some settings, but the warning above is just that.. a warning. Things may still function just fine even if we detect possible problems there.

Basically, on the front-end, if you get the normal Facebook login pop-up, you're configuration settings are correct. If not, play with your Site and Domain URLs in your Facebook application. Some combinations to try:
Site: http://localhost:81/
Domain URL: localhost:81

Site: http://localhost/
Domain URL: localhost

Site: http://localhost:81/petdietdesigner4.com/
Domain URL: localhost:81

Site: http://localhost/petdietdesigner4.com/
Domain URL: localhost

One of those groups will hopefully get you going. If not, let us know!

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

None
12 years 8 months ago #12907 by fb_1582987308
Hi Alex,

On facebook my site url is www.petdietdesigner.com.
My canvas page url is apps.facebook.com/petdietdesigner/
My localhost is mysite

I can get some of the social apps to work on my localhost but I still get warnings and have absolutely no idea how to test this.

Rene
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #12908 by fb_1582987308
Hi Alex,

the warning message says this:

WARNING: POSSIBLE MISCONFIGURATION
We suggest updating your Site URL to: mysite

Does this mean that I have to change the site url on my facebook page? Or can I create a second facebook app that is not public and change the url. I am pretty confused about the entire facebook integration.

rene
The topic has been locked.
Support Specialist
12 years 8 months ago #12914 by alzander
Rene,
You can do either of those things. We have multiple apps that we've created for testing, and for production. If you have a live site that you want working 'right now', we'd recommend an app just for that. If you still aren't live yet, then you can update the Site URL to be one of the ones mentinoed above, and that will let you test locally.

Facebook doesn't let users approve a site that is different than what's in the Site URL for security purposes, so the Site URL will have to match the whatever site you're trying to authenticate from, whether it's localhost or petdietdesinger.com.. but an app can only have one Site URL, so you'll either need 2 apps or you'll need to switch the Site URL depending on what site you're testing on.

Hope that all helps,
Alex
The topic has been locked.