Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Social Networking

Facebook connect & API integration

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Facebook connect & API integration - CodeCanyon Item for Sale


Ad: Bluehost hosting
The Facebook connect enable you to login a user into your website using his Facebook account, and the ability to request and display his Facebook information into your application or website (like Facebook friends, Facebook pages etc).


Once a user has granted your application the permission to interact with his Facebook account, you can do the following with our Facebook class:

- Get the connected user Facebook token (you could for example store it in your own database to authenticate the user later)
- Enable the user to update his Facebook status from your application
- Display the user’s Facebook friends
- Display the user’s pages or applications
- Get the user last status updates.

Documentation and a demo example are included in the source code. We made it simple and clear so that you can understand how you can use the Facebook API into your app or website, and extend the functionalities to comply with the special needs of your application.


Updates 27 May 2014
- Update to the latest Facebook API v2
Updates 13 May 2013
- Updated the app with the latest Facebook changes and our newest code base
- Fixed a minor issue with the logout feature
Updates 15 Dec 2012
- Updated to the latest Facebook API changes and improved code
- Added a styled demo version, to the previous non styled demo page
- Updated the documentation
Updates 20 Sep 2011
- Update to Facebook new OAuth 2.0
Updates 12 Jan 2011
- Replaced the HTTP Referer variable (not supported by IE).
- Edited the update status function to avoid having the curl method to automatically display the call results.

Need to integrate Facebook widgets?

Check out our Facebook Plugins class and have a look to a demo page to see all what you can do with it!

The WordPress version of this script (with extended functionalities)

You can find the Facebook plugin on this page: Facebook WPress for WordPress


The Google Plus version

Enable your visitors to connect using their Google Plus account.

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


9 December 10

Last Update:
27 May 14

High Resolution:

Compatible Browsers:
IE6, IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome

Files Included:
JavaScript JS, CSS, PHP

Software Version:
PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, PHP 5.4, PHP 5.5


eCommerce, eCommerce, All Items, facebook, facebook api, facebook connect, Facebook cookies, facebook friends, facebook integration, facebook login, Facebook token