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?
I think you need to first import that php class into your current file
Put this line at the top
use Facebook\Facebook;