the PHP SDK is installed 2 folders up from index.php root/server_sideincludes/facebook/
I manually created the sdk file system and uploaded the files into them
I can get a php hello world to work from within facebook but any attempt to use a facebook app demo project will not work.
this is sample code generated by facebook
<?php// Awesome Facebook Application// // Name: Demo One// require_once 'facebook-php-sdk/src/facebook.php';// Create our Application instance.$facebook = new Facebook(array( 'appId' => '114791155240547', 'secret' => 'bb5f00de3aabd6af1b38ae72e1c41c50', 'cookie' => true,));
and it generates this when I load the app from within facebook or browser.
Warning: require_once(facebook/client/facebook.php): failed to open stream: No such file or directory in /www/zxq.net/f/b/t/fbtestone/htdocs/index.php on line 4 Fatal error: require_once(): Failed opening required 'facebook/client/facebook.php' (include_path='.:/usr/lib/php') in /www/zxq.net/f/b/t/fbtestone/htdocs/index.php on line 4
I changed my path to different versions of this to see what would happen
but facebook failed with too many redirects.
Any help or suggestions would be great. grammer or facebook