'Class 'Facebook\Facebook' not found" Facebook SDK error

后端 未结 3 1060
孤独总比滥情好
孤独总比滥情好 2020-12-11 01:25

Well I am new to facebook sdk. I have being following the guideline and performing the steps as written.. but I am getting this error and I dont know why?

          


        
3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-11 02:12

    I think you need to first import that php class into your current file

    Put this line at the top

    use Facebook\Facebook; 
    

提交回复
热议问题