Here is complete code for making a facebook app in wicket. The code just lists all the user's friends.
_Note: I'm not using the FaceBook client that comes from the FaceBook website. I'm using a version from this website: http://code.google.com/p/facebook-java-api/ _
This is the application class itself:
...