I just follow the same code from the Facebook SDK example .
If the FB application points to my local desktop, it will receive personal information from the uid user and the user (ex email) if the APP receives permission from the OAUTH request.
But when I upload the files to the server, the execution $facebook->api('/me');
Fatal error: Unused CurlException: 28: connect () timeout! thrown /xxx/src/facebook.php on line 622
I still can’t understand why. Does it come from CURL or SSL settings? My server supports SSL and CURL. My local is only CURL, but no SSL support.
I think my SDK for Facebook is an old version, only facebook.phpwithout base_facebook.php. I am trying to use the new version, but I cannot run any program due to a crt error.
source
share