Issue Logging in with Facebook Authentication on development box (nopCommerce2.4)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
I configured my nopCommerce 2.4 development environment for Facebook authentication and have not been able to get it to work.  I am able to click on the Facebook login button but I continue to get the error "An error occurred.  Please try again later".  I tried deleting all cookies (from Internet Explorer InternOptions and clicking Delete button and removing all Internet files, cookies, etc.).  I tried registering a fake App with Facebook and changing the Windows hosts file on my dev boxes (3 different PCs) to include 127.0.0.1 loopback for fake App.  I'm not sure what else to try.

For almost a week now I've tried to log in using the suggestions provided from various sources (see links) and nothing seems to work:

http://tutorialgenius.blogspot.com/2011/05/developing-facebook-applications.html
http://webmodelling.com/webbits/socialmedia/facebook/fbcreateapp.aspx
http://facebook.stackoverflow.com/questions/9507632/facebook-oauth-dialog-shows-an-error-occurred-please-try-again-later
http://facebooksdk.codeplex.com/wikipage?title=Getting%20Started%20with%20an%20ASP.NET%20MVC%203%20Website%20(With%20Javascript%20SDK)

Any help, pointers, guidance would be much appreciated.

Note: I've noticed that most Facebook posts on here go mostly unanswered.  This (auth via Facebook) is A HUGE REQUREMENT for my website as Facebook data - user events, notifications, etc. - will play a key role in obtaining (and subsequently storing in my database) this type of user data.  I would be willing to fully document my experience for the benefit of others who are trying to do something similar.
12 years ago
Hi,

I think you can check if your APP settings on Facebook are right?

In fact you don't need to change hosts file because the domain on Facebook can be "localhost".

We have implemented Janrain Social Login/Invite (including Facebook Login) on nopCommerce1.9. But i think it should be the same on nopCommerce2.4.
http://www.novasoftware.com/Products/Janrain-nopcommerce.aspx
12 years ago
Hi,
You can test the FB Connect with real domain. you will not be able to run the fb connect from your localhost.

You can do this with with a sub domain named is test for example. test.yourdomain.com
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.