Member Panel

Another, simpler way to display facebook fan count as text
March 25th, 2012 - 7 Comments »


I can now show you a much simpler way to display your Facebook fan count as text on your website. It is alot simpler than the previous way, although it is entirely up to you how you wish to display it.

Step 1 – Find out your Facebook pages ID

Page ID is the ID of your Facebook Fan Page. If you don’t have a Facebook Fan page, you’ll have to first create one. To get the ID of your Fan page, click edit page, and look for your ID (numbers) at the end of the URL – eg:

Step 2 – Copy and Paste

Copy and paste the code below anywhere within your website where you would like the Fan count to show. Remember to change the “XXXXXXXXXXXX” to your Facebook Pages ID.

There you have it, a much simpler way of displaying your fan count!

Related posts:



7 Responses

  1. savan says:


    Just want to say thanks for this. I have searching for this one tried many other links but not getting, Finally i got this link and thats it.

  2. Not a problem Savan!

  3. nik says:

    Thank you very much for the code, its working correctly! Can you please give me Google+ page circle count?

  4. Bhavik says:

    I think this is best and easy code article ever seen. i was searching for this right code…
    thanks you very much

  5. Rishi Chavda says:

    Just to say, I admire programmers with a sense of humour.

    or die(“a lot”);

    Nice work. This is also a very good tutorial, I used it on my clients’ websites too. Thanks.

  6. fasi says:

    Mr. George Orsmond I am beginner in web designing field, just now i have completed my course. Really boss when i check your tutorials, really i got lot of corriage in this field. i have tried your tutorial for dropdown menu code which is very helpful for web designers like me. I am trying to create my own website in which i will try to use your teachings thanks a lot.

  7. François says:

    It doesn’t work !!!!

    I copied and pasted your snipet into my page and changed the XXXXXXXXXX with my profile id : this one 383812805029913

    Doesthat still work for you ?

Leave a Reply