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

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAAfA4Fyp3EjVWaHm7OMo3m_LiMZO7ARRDhRaxNpqRy--3_rYfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to