[ad_1]
The Famous Journalist and Advertiser of the Greek Press
He visited Mytikas Aitoloakarnania from where she comes to rest and see her beloved faces. After the dives she posed for pictures on the beach and then "raised" on her personal page at instagram
The Reason of Katerina Papakostopoulou
var js, fjs = d.getElementsByTagName (s) [0];
if (d.getElementById (id))
return;
js = d.createElement (s);
js.id = id;
js.src = "http://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore (js, fjs);
} {function ()} (document, 'script', 'facebook-jssdk'));
function appendFbScript () { var js, id = & # 39; facebook-jssdk & # 39; fjs = document.getElementsByTagName ('script') [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; 588832 & # 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