load facebook php sdk from controller

#2
[eluser]pickupman[/eluser]
Simple syntax errors
Code:
class Facebook extends Controller
{
    function __construct()
    {
        parent::Controller();
    }
    
    function index()
    {
        require './facebook.php';
    }
}

You may want to check out the popular library for Facebook. [url="http://www.haughin.com/code/facebook/"]Facebook CI Library[/url]


Messages In This Thread
load facebook php sdk from controller - by El Forum - 08-14-2010, 04:21 PM
load facebook php sdk from controller - by El Forum - 08-14-2010, 04:28 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.