Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

customizing facebook like-box

I would like to customize the design of my facebook like-box. ive already search the net and follow all the instructions, here's the link ive tried but its seems obsolete:

http://www.daddydesign.com/wordpress/how-to-customize-your-facebook-fan-box/

there are lots of tutorial in web, but have the same solution.

been stuck for almost 2 hours in this. can anyone knows how to customize the like-box?

your help is greatly appreciated.

like image 500
EVG Avatar asked Oct 31 '10 16:10

EVG


5 Answers

  1. Get XFBML code from here: http://developers.facebook.com/docs/reference/plugins/like-box/#
  2. Rename fb:like-box to fb:fan
  3. Upload your css file on your web-site
  4. Add this params to fb tag: profile_id="ID OF YOUR PAGE" css="http://example.com/css/your-cutom-style.css?1"

Enjoy :)

like image 166
Weltkind Avatar answered Oct 22 '22 13:10

Weltkind


Weltkind got it right. The trick is that, when you change <fb:like-box> to <fb:fan> you must then include the profile_id attribute as well, or it won't show anything! If you renamed your fan page URL like I have, the original number can be taken from the insights page. I'd upvote Weltkind, but I don't have enough reputation to yet. Doh. :)

like image 26
mdpatrick Avatar answered Oct 22 '22 14:10

mdpatrick


Facebook has a "wizard" that pretty much gives you all the options and styling that is allowed.

http://developers.facebook.com/docs/reference/plugins/like

http://developers.facebook.com/docs/reference/plugins/like-box

like image 25
Brent Baisley Avatar answered Oct 22 '22 15:10

Brent Baisley


what exactly is your problem? the instructions on the link provided do work pretty good. be sure to update the "?1" parameter of your css file everytime you make changes and upload it.

if you have a link i could help you some more.

like image 29
tobiasmay Avatar answered Oct 22 '22 13:10

tobiasmay


You can't customize the iframe method. However, you can customize the xfbml method via your own css. See this page: How to Customize your Facebook Fan Box

like image 36
Marc Avatar answered Oct 22 '22 14:10

Marc