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?
Fatal error: Class 'FacebookFacebook' not found in C:wampwwwindex.php on line 134
The error line code is:
<?php
$fb = new FacebookFacebook([
'app_id' => '{app-id}',
'app_secret' => '{app-secret}',
'default_graph_version' => 'v2.2',
]);
?>
This is not something I have made up, this is exactly the same code mentioned in facebook guideline! What should I do?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…