I am adding facebook social plug in to a webpage
when I manually add :
The JS SDK goes through your document once when it is initialized, to look for such elements to parse into social plugins. If you want it to also parse content that you add to the document later, you need to call FB.XFBML.parse()
.
https://developers.facebook.com/docs/reference/javascript/FB.XFBML.parse/