I've used the code from 
http://developers.facebook.com/docs/reference/plugins/like/
to generate a Like button. I've used both the XFBML and HTML5 code.

It works in FF,Chrome and Safari with this code snippet (this is the
HTML5 version):

HTML fb = new HTML();
fb.setHTML("<div class=\"fb-like\" data-href=\"http://www.blah.com\";
data-send=\"true\" data-width=\"360\" data-show-faces=\"false\" data-
font=\"arial\"></div>");

then add this to some panel.

In my HTML file I've added

<div id="fb-root"></div>

and the Facebook generated Javascript.

In IE 9 and the latest Opera it doesn't display. I note there's an
earlier thread from last year on this, but I can't see anywhere that
anyone has actually got it to work.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to