Call the JavaScript SDK's FB.XFBML.parse() method after changing the data-href attribute's value. Here's some documentation:.
อ่านต่อ