htmlfacebookpluginsxfbml

Re-parsing a facebook HTML5 comments box


Is there something similar to FB.XFBML.parse() but for the HTML5 versions of the social plugins? I don't want to use XFBML... Basically, I'm building a one page application that needs to change the comments box's data-href attribute and reload based on what content is accessed inside the app.


Solution

  • Calling FB.XFBML.parse() will also reload/reparse HTML5 Like buttons and other Facebook HTML5 social plugins.