Class 'Facebook' not found error message

后端 未结 4 1622
你的背包
你的背包 2021-01-25 08:06

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:58

    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

提交回复
热议问题