This plugin is a simple extension for Joomla for programmers to easily manage a Facebook Application through there Joomla powered website. It gives you a place to put your API Key and Secret in the administration back-end. You just upload and turn it on in your plugin manager and you can begin to use the Facebook API in you Extensions. Download It JFacebook (Joomla Facebook Client Library) Instructions
- Go to Facebook Developer App and add the Developer App to your facebook account.
- Click the "Set Up New Application" button at the top of the page and follow the instructions
- Get the API Key and Secret for your new app and copy them to the appropriate Parameter fields
You need to use the following line of code at least one in your Application development, usually in your application controller.php file: JPluginHelper::importPlugin('jfacebook', 'jfacebook'); This loads the init.php file and lets you use the JFBImport function to load specific script/plugin from the library: JFBImport('jfacebook.init'); Once you have done this, you can use &getInstance() method to return an your Facebook object: $facebook = & JFacebook::getInstance(); HAPPY Apping!
|