TDH
TDH

Reputation: 567

Notification of facebook comments loading

I'm creating a web app which uses facebook comments.

When the comments are loaded I need to re-size my container to fit the new size including the comments.

I'm looking for an event that's fired when comments are loaded but can't see any reference to anything anywhere. Is there an event, if so how can I access it?

Cheers Tom

Upvotes: 0

Views: 158

Answers (1)

Fisch
Fisch

Reputation: 3815

Take a look at FB.event.subscribe(). You may want to try subscribing to the xfbml.render event. You may also want to resize your container on the comment.create and comment.remove events as well

Upvotes: 1

Related Questions