How to Customize Facebook Fan Page Widget

by Shoaib Hussain on January 9, 2010

in Facebook

           
   

This post is about  Customizing Facebook Fanbox Widget for wordpress ,if you don’t know what is facebook fanbox is please  first read-Fan Box : Facebook pages widget for your blog

If you are blogging and have placed a facebook fanbox widget on your blog ,and want to change the way that box looks ,then read on.

May be you can tweak its colors or may be change the background color of your facebook fanbox.

Here have a look at what i have done with my fanbox.

Customize facebook fanboxIt’s not so good-looking but a lot can be done with it.

I know that I have not designed it properly,but then I am not a designer I just make things work the way they should.

Enough of that ……Now here is what your facebook fanbox iframe code would look when you get it from facebook.

"http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script><script type="text/javascript">FB.init("7f7ce0be4660e5312fa83f0af6368841");</script><fb:fan profile_id="181283852393"  connections="20" width="1000" height="95" ></fb:fan>
  <div style="font-size:10px; padding-left:20px">
  <a href="http://www.facebook.com/pages/Indore-India/what-what/181283852393"></a></div>

To make the fanbox take design of your css simply put the location of css file just after the height of your facebook fanbox.To see the code just slide this panel and you will see how I have placed mine.

"http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script><script type="text/javascript">FB.init("7f7ce0be4660e5312fa83f0af6368841");</script><fb:fan profile_id="181283852393"  connections="20" width="1000" height="95" css="http://what-what.net/wp-content/themes/thesis_16/custom/custom.css?9>
  font-size:10px; padding-left:20px">
  <a href="http://www.facebook.com/pages/Indore-India/what-what/181283852393"></a></div>

Once that done start tweaking the colors and the shape of your facebook fanbox.

Word of caution :- The question mark that you see at the end of your css,just put the number that you have revised your facebook css files.(Facebook works according to the cache storage )

Ex- You start to style your facebook fanbox for the first time and as you save your css files,change the number to 2 and from their on the keep on  increasing the number as once per css editing.

You can see it took me 6 revisions so I have used the number 7,as the cache was already stored for the first editing.

I know this really fussy but then its always great fun in making things work the way you want it.

This useful tutorial is presented by our guest author Shoaib , who writes at what-what.net. If you like to Write for Shoutmeloud read : Shoutmeloud Revenue Sharing Program.

Enter your email address:

Related posts:

  1. Fan Box : Facebook pages widget for your blog
  2. How to Add Facebook Fan Page Widget on your blog?
  3. How to Create A Facebook Fan Page For Your Blog
  4. Facebook Fan page VS Google Friend Connect
  5. How to show your Twitter Tweets into Facebook Profile
  6. Official facebook Share Count button from facebook
  7. Twitter Fan Widget: Showoff your followers in WordPress Sidebar
  8. Facebook :Find Your Real Friends On Facebook


{ 2 trackbacks }

How To: Give Your Facebook Page An Username | Word Tweeting
January 10, 2010 at 18:34
Blogging Tips, Business Tips and Social Media Tips
January 17, 2010 at 10:33

{ 23 comments… read them below or add one }

1 Anish K.S January 9, 2010 at 14:04

Thanks for the tip

Reply

2 tushar January 9, 2010 at 18:57

facebook fan page has become a symbol of blog popularity and these tips will surely help

Reply

3 Harsh Agrawal January 11, 2010 at 07:44

A good number of fan base always attract people, more over Fan page also helps you to drive traffic from facebook.

Reply

4 chandan January 9, 2010 at 19:41

Thank you for this tips, Hi I have listed your blog on my most favorite blog list.

Reply

5 Blogger Template Place January 9, 2010 at 19:45

it is will be nice if we can customize it according our themes.

Thank
Best Regard

Reply

6 Furhead January 9, 2010 at 22:40

@Anish -ur welcome
@Dinesh-Just try on and almost anything is possible……
@Blogger Template Place-Yeah you can,that’s the basic logic behind this….

Reply

7 Dinesh January 9, 2010 at 20:20

I never thought that we can modify facebook fan page.

Reply

8 vivek bandebuche January 9, 2010 at 21:49

Thanks for share this trik. Is that facebook fan page give any traffic to you it dont give any of the traffic to me . can you please tel how to get from it.

Reply

9 Furhead January 11, 2010 at 09:31

Just connect youe wordpress blog with your fb account and the next time you make a post in ur blog it will publish to your and ur friends facebook wall ,this is the way that ur fb pals will come to know that u have a blog and have made post.
You can also check out the the post on how to integrate fb into your blog here:-http://www.shoutmeloud.com/integrating-facebook-friend-connect-with-thesis-wordpress-theme.html

Reply

10 shivaraj January 9, 2010 at 22:12

Really unique design.
Thanks for nice post.

Reply

11 Rajesh Kanuri @ TechCats January 9, 2010 at 22:54

These tips will help in playing with the facebook widgets..

Reply

12 Harsh Agrawal January 11, 2010 at 07:42

It will! most important it will help in customizing and proper placement of your facebook fan box.

Reply

13 Deepika January 10, 2010 at 19:56

Thanks for the tips. I am using this widget in my blog. Its very helpful and needed to be placed in every blog.

Reply

14 Harsh Agrawal January 11, 2010 at 07:35

Thanks for your comment Deepika and it is indeed helpful.

Reply

15 Tinh January 10, 2010 at 20:29

I have not put FB widget for a long time now but I should put it back soon. Thanks

Reply

16 Harsh Agrawal January 11, 2010 at 07:35

Tinh you should. Capturing Facebook users on fan page is more like increasing your subscribe count, because they will keep getting update from your blog on their homepage.

Reply

17 Tinh January 12, 2010 at 07:29

Thanks, I will do this now

Reply

18 shoaib January 10, 2010 at 21:27

@Rk n Deepika -ur wlecome

Reply

19 john January 15, 2010 at 14:46

Hi,

as anyone noticed that the custom styled fanbox does NOT show on iPone? Any advice / workaround?

TNX
J

Reply

20 Furhead January 15, 2010 at 17:32

Hey John ,it does work on iphone,I tested it just right now ,though it takes sometime to open(this even happens if your browse via your pc orMac as well.

Reply

21 john January 16, 2010 at 17:42

Hey Furry,

jep, I noticed it working last night (must be a cache issue – even though I’m using the …css?bla=$time hack).

BUT: for some reason white spaces in iframes are rendered as line breaks on the iphone…? Anybody have the same experience or better yet a solution?

Tnx
J

Reply

22 Ernie January 26, 2010 at 13:04

Can you kindly provide the CSS markups specifically used by the Facebook Fan Page embed? I reviewed the CSS file at http://what-what.net/wp-content/themes/thesis_16/custom/custom.css and could not find any particular section used specifically for the widget. Thanks!

Reply

23 john January 27, 2010 at 15:18

Hey Ernie,

only sensible way is to use firefox w the Firebug extension…
greetz
J

Reply

Leave a Comment

Previous post:

Next post: