Actually you CAN test it locally, just you need to configure that you need this feature in your FB app in FB itself.
Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Tue, May 18, 2010 at 2:29 PM, Richard Nichols <r...@visural.com> wrote: > I pretty much used the code from > https://cwiki.apache.org/WICKET/adding-facebook-connect.html > > You need to set up the /xd_reciever.htm for it to work correctly (take > a look at the facebook connect api docs), either using a Wicket mapped > resource, or using a servlet filter to return it. > > The other trap is that you can't test it locally. I spent an hour > trying to debug why it wasn't working - the only reason was the API > will not connect from any host other than the one registered in your > Facebook App Config. If you try from localhost it just opens your site > inside the Facebook login popup - really unhelpful (an error would be > nice). > > If you follow the wiki article though, it should be fairly easy to get > going. > > On 18 May 2010 22:56, Fernando Wermus <fernando.wer...@gmail.com> wrote: > > I need a hand with facebook connect and wicket in some weeks. Could you > > share your wicket facebook code? I imagine it is pretty easy. > > > > thanks in advance > > > > On Mon, May 17, 2010 at 10:31 PM, Richard Nichols <r...@visural.com> > wrote: > > > >> Hey all, > >> > >> Just thought fellow Wicketeers might be interested to take a look at a > >> site I have just launched built 100% with Wicket - > >> http://www.onmydoorstep.com.au/ > >> > >> The site is a community portal for people living in Victoria, > >> Australia and displays government data about every suburb, city and > >> town in the state. It also allows users to find government services > >> and business nearby and submit community events/festivals and ask > >> questions of other users. > >> > >> It integrates Wicket with Facebook Connect, Google Maps, Google > >> Charts, Google's Weather API, plus on the backend, warp-persist, Guice > >> and Hibernate/JPA. I also made extensive use of > >> http://code.google.com/p/visural-wicket > >> > >> Anyhow - happy to answer any questions about the above technologies > >> and the experience of building the site with Wicket. Also welcome > >> feedback & criticism should you have some :) > >> > >> > >> cheers, > >> Richard. > >> > >> -- > >> Richard Nichols :: http://www.visural.com/ :: > >> http://www.richardnichols.net/ > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > > Fernando Wermus. > > > > www.linkedin.com/in/fernandowermus > > > > > > -- > Richard Nichols :: http://www.visural.com/ :: > http://www.richardnichols.net/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >