[ad_1]
A healthy little girl brought Florinda Petruceli to the world on Friday afternoon. Happy Day, Happy Day, of their love.
In fact, he is particularly excited because their daughter was born on her birthday . Indeed, as he became known, the little one will call Maria.
function appendFbScript () { var js, id = & # 39; facebook-jssdk & # 39; fjs = document.getElementsByTagName (& # 39; script & # 39;) [0];
if (document.getElementById (id)) returns; js = document.createElement (& # 39; script & # 39;); js.id = id; js.src = "http://connect.facebook.net/en_US/sdk.js#xfbml=1&appId=1594771620778731&version=v2.0"; fjs.parentNode.insertBefore (js, fjs);
window.fbAsyncInit = function () { FB.init ({ appId: & # 39; 1594771620778731 & # 39; xfbml: true, version: & # 39; v2.0 & # 39; }); FB.Event.subscribe (& # 39; comment.create & # 39; function (comment_data) { console.log (comment_data); update_comments_count (); }); FB.Event.subscribe (& # 39; comment.remove & # 39; function (comment_data) { update_comments_count (); });
function update_comments_count (comment_data, comment_action) { jQuery.ajax ({ type: & # 39; GET & # 39; dataType: & quot; json & # 39; url: https: //www.altsantiri.gr/wp-admin/admin-ajax.php' ;, date: { action: & # 39; clear_better_facebook_comments & # 39; post_id: & # 39; 596406 & # 39; } success: function (data) { // todo sync comments count here! the data have the accounts } error: function (i, b) { // todo } } ) } }
jQuery (document) .on ("ajaxified-comments-loaded", appendFbScript); }
appendFbScript ();
}} ();
[ad_2]
Source link