Connect with us

News

Die Geheimnisse eines Profispielers über das Gewinnen an Spielautomaten

Published

on


<!-Die Geheimnisse eines Profispielers über das Gewinnen an Spielautomaten-Das Spielemagazin Games-Mag

window.fbAsyncInit = function () { FB.init({ appId: '1772837452787471', xfbml: true, version: 'v2.0' }); FB.Event.subscribe('comment.create', function (comment_data) { console.log(comment_data); update_comments_count(); }); FB.Event.subscribe('comment.remove', function (comment_data) { update_comments_count(); });

function update_comments_count(comment_data, comment_action) { jQuery.ajax( { type: 'GET', dataType: 'json', url: 'https://games-mag.de/wp-admin/admin-ajax.php', data: { action: 'clear_better_facebook_comments', post_id: '227992' }, success: function (data) { // todo sync comments count here! data have the counts }, error: function (i, b) { // todo } } ) }; };

appendFbScript(); }

appendFbScript();

})();

Continue Reading
Click to comment
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Advertisement

Trending

0
Would love your thoughts, please comment.x
()
x