I’m just getting started using Facebook’s OAuth for my website… when “Login with Facebook” is clicked, the Facebook page comes up properly for login. However, when redirected back to my site, “Login with Facebook” is still there instead of “Logout”. When “Login with Facebook” is clicked a second time, the page switches over properly (without redirecting them to facebook a second time). Any ideas why this would be happening?
I’m just getting started using Facebook’s OAuth for my website… when Login with Facebook
Share
Actually, I figured it out. It wasn’t a problem with my code. I had to go into my setting on the facebook app settings and set the following (I’m working from localhost).