THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
I used mostly plain JavaScript, but you can put it easily into a wrapper for your convenience.
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<html xmlns:wicket> <body> <wicket:head> <script type="text/javascript" wicket:id="loginCallback"></script> <script type="text/javascript" wicket:id="logoutCallback"></script> </wicket:head> <wicket:panel> <fb:login-button autologoutlink="true" perms="email" > </fb:login-button> <!-- Facebook-API --> <div id="fb-root"> </div> <script wicket:id="FBapi"> <!-- calling Facebook API, init and check login --> </script> </wicket:panel> </body> </html> |
...
I hope this is useful for you,
Markus
Updates:
- 2010/6/10:
Code Block * Added createPanel() to the constructor. * Added common Bug API Error 100