Help - Search - Members - Calendar
Full Version: Can I Use A Free Account To Make A Facebook App?
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
MorningBeanies
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. tongue.gif

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
/www/zxq.net/f/b/t/fbtestone/htdocs/index.php

but facebook failed with too many redirects.

Any help or suggestions would be great. grammer or facebook
Jacob
No, we do not accept any remote connections so this will not work.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.