Unfortunately facebook4gwt, like the other gwt wrapper mentioned in this thread, wraps the clunky old v0.4 FeatureLoader.js.php javascript. The new one, while still technically being "alpha", is at least as solid as the old (we're talking Facebook here, they break things at regular intervals) and about 10X faster to load. It's also a lot easier to understand.
If you're serious about FB development and developing a new app, you will save yourself a lot of grief later by starting with a simple custom JSNI wrapper around the new connect-js interface. Jeff On Mon, Feb 15, 2010 at 2:36 AM, Martin Trummer <[email protected]> wrote: > there's another lib for the client-side that may help > http://code.google.com/p/facebook4gwt/ > > I use it in a 3rd party website on the client side, > to log the user in and then on the server-side I > user facebook-java-api. > > On 12 Feb., 20:36, Jeff Schnitzer <[email protected]> wrote: >> Yes, I have. You can play with it: http://www.mobca.st/ >> >> There are two sides to a facebook webapp, the client and the server. >> On the GWT side you will not be using facebook-java-api or any other >> java http-based client. You will use the facebook connect library >> through JSNI. The new api library is quite easy to use from GWT: >> >> http://github.com/facebook/connect-js >> >> On the server side, throw facebook-java-api in the trash. It's >> horrid. The Facebook API, while kludgy as hell, is actually pretty >> straightforward. Just make HTTP requests and parse the results with >> your favorite JSON or XML parser (I use Jackson). >> >> Jeff >> >> On Thu, Feb 11, 2010 at 5:46 PM, Manny <[email protected]> wrote: >> > Has anyone succeded in building a facebook app using gwt? >> > I have spent 50+ hours trying to just get the facebook-java-api to >> > work with my halfway done gwt app. >> > but to no avail. My project is at a stand still untill i can figure >> > this out. >> > PLEASE help if you know how to do this. the current code examples >> > do not take the gwt into account. and please if you just google a >> > solution for me i've probably already >> > seen it. I need someone who has actually done this or knows for sure >> > how to.please. >> > 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 >> > athttp://groups.google.com/group/google-web-toolkit?hl=en. >> >> > > -- > 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. > > -- 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.
