Shortcode in AJAX popup

Adding the solution for posterity –
I solved it by adding FB.XFBML.parse(); once the AJAX call returned succesfully. Hope this helps.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)