PHP SDK 3.1
it means : your web hosting is not able to connect to Facebook quickly.
Solution is Simple.
you have 2 choices :
1) change your hosting plan or change your web hosting
-OR-
2) go to base_Facebook.php file
line # 128 : with those lines
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-3.1',
);
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-3.1',
);
Change the (CURLOPT_CONNECTTIMEOUT => 10,) into (CURLOPT_CONNECTTIMEOUT => 30,) .... save the base_facebook.php .
That is it ....
Google me (evry1falls)