Has anyone had any success getting Facebook Like/Send buttons to work using 
XFBML? The issues I'm running into are:

1. I want to show the buttons dynamically, based on the user "navigating" to 
a particular state of my GWT app. I'm fine with including the FB script in 
my host page, as long as I can display the buttons "on demand", so to speak.

2. The page being "liked" is itself a GWT page state (i.e. hash-style URL: 
http://example.com/#!results://all/1-10). Although the URLs are durable and 
bookmarkable, they do need to be set in the <fb:like> tag somewhat 
dynamically. 

I don't yet have the <fb:like> tag working in UIBinder, but I've read that 
updating the "href" property dynamically won't work. So I'm going to try 
inserting the entire <fb:like> tag dynamically. This feels an awful lot like 
emitting a page JSP-style, so I'm wondering if there's a better solution out 
there.

Thanks




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

Reply via email to