Friday, June 10, 2011

Facebook login or permission page redirect loop

After 2 days of my head aching, i am able to find the problem of facebook login or permission infinite loop.

Actually the problem occurs when the facebook graph api ("makeRequest" function in base_facebook.php) make a curl request to https url then curl try to verify the ssl certificate and it returns false (specially in my case). So for quick fix, i have add


just after curl_init. Hope it helps you. As it works for me.

Let me know if it works for you.


1 comment:

  1. Take a note of the URL as you’ll need it later. Also create an empty SQL Database either on a new or existing server and take a note of the credentials, you’ll need this later. login