Michael Vogt
unread,Sep 30, 2014, 6:55:57 AM9/30/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Web-Tool...@googlegroups.com
Hello.
Should it be possible right now to use JsInterop to use the facebook
Javascript sdk?
The call I want to use is FB.XFBML.parse
So I created 2 interfaces:
@JsType
public interface FB {
@JsProperty XFBML getXFBML();
}
@JsType
public interface XFBML {
void parse();
}
I get FB through a native function getFB(). When calling
getFB().getXFBML().parse(), the error message is "undefined is not a
function"
Should this work, or am I doing something wrong?
Thanks,
Michael