I am using this tutorial to add a Login with Facebook feature. I have tested this on my localhost and it is working perfectly fine.
But, I am getting this error on my website:
Fatal error: Uncaught Error: Class 'Facebook\HttpClients\FacebookCurlHttpClient' not found in /home/KC/web/example.com/public_html/facebook-php-sdk/FacebookClient.php:127 Stack trace: #0 /home/KC/web/example.com/public_html/facebook-php-sdk/FacebookClient.php(96): Facebook\FacebookClient->detectHttpClientHandler() #1 /home/KC/web/example.com/public_html/facebook-php-sdk/Facebook.php(159): Facebook\FacebookClient->__construct(NULL, false) #2 /home/KC/web/example.com/public_html/fbConfig.php(25): Facebook\Facebook->__construct(Array) #3 /home/KC/web/example.com/public_html/index.php(3): require_once('/home/KC/web/ex...') #4 {main} thrown in /home/KC/web/example.com/public_html/facebook-php-sdk/FacebookClient.php on line 127
I have no idea, what that error means. What am I missing?