Closed aldrinm closed 12 years ago
Yes, you can put JS inside initJS tag. It will be automatically injected inside the fbAsyncInit function body.
<facebook:initJS appId="${facebook.app.id}">
// Put here any JS code to be executed after Facebook JS initialization
alert('Some JS code');
</facebook:initJS>
awesome. works perfectly. i must've missed it in the docs.
It is not yet in the documentation ;). I've added it, it should be in next release.
Is there a way to hook into the fbAsyncInit event handler created by the plugin? Or a way to invoke any function after Facebook is initialized?