problem in login with facebook and google

Closed
Advanced Security - PHP Register/Login System Advanced Security - PHP Register/Login System June 07, 2018
Login to reply
Milos Stojanovic Support Agent
5 years ago
Closed due to inactivity.
Milos Stojanovic Support Agent
5 years ago

Hey,

Unfortunately, it looks like the server issue since, according to the error message, your server cannot resolve the IP address for Facebook API.

Here is the StackOverflow thread for the same issue and, as it is recommended there, I would advice you to contact your hosting provider and ask them if they can solve the error for you since the error is not code related: https://stackoverflow.com/questions/35271872/facebook-php-sdk-v5-name-lookup-timed-out

Milos

Krishan Kumar
5 years ago

hello,

sometimes showing me an error during click on facebook login icon.

error attached.

Milos Stojanovic Support Agent
5 years ago

Hey Krishan,

Your redirect URI for Facebook is invalid. It should say "hauth_done=Facebook" not "hauth.done=Facebook" as you have it.

Let me know if that fixes the problem. :)

Milos

Milos Stojanovic Support Agent
5 years ago

Hey,

This means that your facebook app is still not configured properly. How does your Callback URL looks like?

Also, make sure that it matches the http:// or https:// part too, since if you use your app under http and set the callback url to https, it won't work properly.

Krishan Kumar
5 years ago

hello,

google login running now, but facebook login showing same error after update it.

Milos Stojanovic Support Agent
5 years ago

Hey Krishan,

It looks like you haven't properly configured the redirect URIs in Facebook/Google application configuration. 

Please check the attached screenshots to see how I have it configured for the demo website. You should do it the same for your website with your own callback URL.

Krishan Kumar
5 years ago

i am unable to login with facebook and google. Showing me ac error during login. I have updated all required parameters for this.