Good afternoon, I'm currently struggling with wicketstuff-facebook 6.12.0 with the same version of Wicket. I'm unable to have the logged in callback executed.
Here is my code: final LoginButton button = new LoginButton("loginButton", FacebookPermission.user_events); button.setShowFaces(true); this.add(button); final Model<String> responseModel = new Model<String>(); final MultiLineLabel responseLabel = new MultiLineLabel("response", responseModel); responseLabel.setOutputMarkupId(true); this.add(responseLabel); this.add(new AuthLoginEventBehavior() { private static final long serialVersionUID = 1L; @Override protected void onSessionEvent(final AjaxRequestTarget target, final String status, final String userId, final String signedRequest, final String expiresIn, final String accessToken) { final StringBuilder sb = new StringBuilder(); sb.append("status: ").append(status).append('\n'); sb.append("userId: ").append(userId).append('\n'); sb.append("signedRequest: ").append(signedRequest).append('\n'); sb.append("expiresIn: ").append(expiresIn).append('\n'); sb.append("accessToken: ").append(accessToken).append('\n'); LoginModalWindow.LOGGER.info(sb.toString()); responseModel.setObject(sb.toString()); target.add(responseLabel); } }); Moreover, I have added new FacebookSdk("fb-root", "my-app-id")) and its corresponding markup <div id="fb-root" wicket:id="fb-root"></div> at the very beginning of the body, as requested. I have no error in the Tomcat logs. Does anyone have a clue, please? Regards, Pierre