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 Plugins and Dialogs class

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Facebook Plugins and Dialogs class - CodeCanyon Item for Sale


Ad: Bluehost hosting

This Facebook plugins class enables you to centralize all your Facebook plugins and dialog declarations. The main advantage is to avoid having your plugins declarations everywhere in your projects. Instead you can have them all in one place, all defined in a structured and flexible class.

If you are interested by integrating Twitter widgets you can have a look to the Twitter widgets class.


- Centralize all your Facebook plugins and dialog declarations.
- Avoid duplicate code.
- Save time by having to update only the class file when Facebook make changes.
- Use efficient and flexible functions.
- Extremely easy to integrate into your existing projects.


- Offer a way to your user to update their Facebook status.
- 3 possible dialogs (post on user’s wall, send to friends or share on Facebook)
- 4 different buttons (like, send, follow and share)
- 2 ways to embed Facebook content (posts and videos)
- Facebook comments that can be added to any page.
- Pages plugin (previously called Like box) to display the activity of your Facebook page and the photos of your fans
- The Facebook SDK in included only once (even when your call several same methods!).
- Rich documentation included (with examples).

The purpose of this class is clearly to give you all the Facebook social tools that could help you offering a richer experience to your visitors. Letting you focus on other important things.

Have a look on all what you can integrate on our demo page.


7 August 2015
- Added the new “get_fb_sdk” function enabling to integrate the Facebook SDK code
- Renamed the “showfaces” parameter to “show_faces”
2 August 2015
- Added the new embed videos plugin
- Removed the plugins deprecated by Facebook (Facepile, Activity Feed and Recommendations box)
- Renamed the Like box to the new Pages plugins
- Added 2 new dialogs (Send message and share on Facebook)
- Updated the comments plugins to the new one
- Updated to the latest Facebook SDK v2.4
- Added the new plugins parameters and removed the deprecated ones
30 May 2014
- Updated to the latest Facebook API v2.0
- Facebook embedded posts added
- Facebook Follow button added
- Facebook share button added

WordPress version

You can find the WordPress Plugin on this page: Facebook Plugins, Comments & Dialogs for WordPress

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


18 March 11

Last Update:
9 August 15

High Resolution:

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

Files Included:

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 comments, Facebook dialogs, facebook embedded posts, facebook fan page, Facebook follow, facebook integration, facebook like, Facebook plugins