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 Page Fan Detection

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Facebook Page Fan Detection - CodeCanyon Item for Sale


Ad: Bluehost hosting

Excellent Support Service Support

Facebook Page Fan Detection is a PHP class which helps to detect that whether a particular visitor is a fan of your page or not and accordingly display the contents to the fans and hide specific contents from the non-fans. It can be embedded to your FACEBOOK page’s IFRAME TAB.

Please note, that to get the Live preview to work correctly you need to view it in it’s own window. Facebook doesn’t seem to like being in a Frame

This class extracts the following information about the visitors:

  • FAN status
  • Country
  • Language
  • Page Id
  • Page admin

Please note, that to get the Live preview to work correctly you need to view it in it’s own window. Facebook doesn’t seem to like being in a Frame

Version History:

28/08/2011 – Version 1.1

  • Two examples Included
  • New Interface
  • Updated the code

Customers Say’s

How this class going to help me?

By creating a deal, and using that deal as an incentive for non-fans to click “Like,” you WILL generate more fans. Most successful bussiness not only offer a Facebook fan exclusive deal, but they set the OFFERS tab as the landing page for “non-fans.” This way, your first impression is an impression that’s guaranteed to turn more unique views into real fans. Some users have seen upwards of a 50% conversion of unique viewer into fan—compared to 10% of unique viewers becoming a fan without an incentive to do so. That’s a 5 fold increase!


  • Easy to install into any Facebook page
  • Fully customisable
  • Extensive documentation
  • Works in all major browsers

Requirements and Recommendations

A PHP enabled server (version 4.3+) is required for the script to work.

NOTE : A basic knowledge of PHP is recommended to be able to implement the script, however the documentation is extensive so you may not need any.

Please help us

If you are going to rate the script less than 5 stars, please tell us what we can do to make it 5 stars for you and we’ll fix it. We would love to hear your suggestions on how we could improve the script, leave us a comment or send us an email and your suggestion might make it in to a future version!

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


29 July 11

Last Update:
13 February 13

High Resolution:

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

Files Included:

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


eCommerce, eCommerce, All Items, facebook, facebook api, facebook application, facebook iframe application, facebook integration, facebook page application, facebook page detection, facebook page template