Class 'Facebook' not found error message

后端 未结 4 1934
忘掉有多难
忘掉有多难 2021-01-25 08:43

i copied some html code for a facebook application but i seem to get the following error

Fatal error: Class \'Facebook\' not found in /home/content/73/7931773/h         


        
4条回答
  •  心在旅途
    2021-01-25 08:48

    That facebook call belongs to the Facebook PHP SDK. It instantiates the facebook class. You are getting the error probably because you dont have the facebook.php in the same folder as your script.

    To get rid of the error. Either remove facebook object from your application or get the facebook class.

    Here is the link. https://github.com/facebook/php-sdk

提交回复
热议问题