laravel - Failed to connect to graph.facebook.com port 443: Network is unreachable -
working on facebook application uses fb-sdk in laravel getting "failed connect graph.facebook.com port 443: network" error 2hr.
i authenticating user using js , redirecting long live access token in fb-sdk giving error. here code,:
try { $accesstoken = $helper->getaccesstoken(); } catch (facebookresponseexception $e) { // when graph returns error echo 'graph returned error: ' . $e->getmessage(); exit; } catch (facebooksdkexception $e) { // when validation fails or other local issues echo 'facebook sdk returned error: ' . $e->getmessage(); exit; }
i want know possible reasons fb-sdk giving error suddenly. there can me out ?
Comments
Post a Comment