-2

I want remove facebook like button in my website (but count should be display ). Can anybody help me out of this .? or is it possible to change the like button Design ?

  • Can you paste a piece of code surrounding that HTML-tag in you question? You can probably remove the button afterwards with jQuery by adjusting the CSS or DOM dynamically. –  Jan 23 '13 at 13:02
  • You can't just hide the 'like' part of the like box. It's in an iframe and there is no option to only display the like number. – Prisoner Jan 23 '13 at 13:03
  • Hi Allendar , Code given below : – user2003956 Jan 23 '13 at 13:12
  • Ok since Iframe could use filgetcontents to remake it – IanO.S. Jan 23 '13 at 14:02

1 Answers1

2

You could not do much with css/javascript as the whole button in iframe and has different url than your page, and according the browser security you do not access into it. But you could use Graph API/FQL to get like counts and than use it on the page the way you need.

Community
  • 1
  • 1
dmi3y
  • 3,482
  • 2
  • 21
  • 32