I am trying out the Facebook PHP SDK example at https://github.com/facebook/php-sdk/blob/master/examples/example.php on a localhost XAMPP server.
Problem: When I click on the Login with Facebook button, I get an error on Facebook An error occurred. Please try again later..
Other than this, the rest of the example appear ok, showing the profile pic and profile name.
Any idea what is happening? Thanks!
Have you set up your URLs in the App? Such like Site URL and Site Domain? Otherwise we need more information on how you have set up your code.