Tech News

Your Driving License Will Be Cancelled If You Don’t Pay All Pending Fines In This State!

Loading...





Your Driving License Will Be Cancelled If You Don’t Pay All Pending Fines In This State!










































who's online

Loading...

Loading...

function appendFbScript() { var js, id = 'facebook-jssdk', fjs = document.getElementsByTagName('script')[0];

if (document.getElementById(id)) return; js = document.createElement('script'); js.id = id; js.src = "http://connect.facebook.net/en_US/sdk.js#xfbml=1&appId=217623908263254&version=v2.0"; fjs.parentNode.insertBefore(js, fjs);

window.fbAsyncInit = function () FB.init( appId: '217623908263254', 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://trak.in/wp-admin/admin-ajax.php', data: action: 'clear_better_facebook_comments', post_id: '116619' , success: function (data) // todo sync comments count here! data have the counts , error: function (i, b) // todo

) ; ;

appendFbScript(); }

appendFbScript();

})();


Source link

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button
%d bloggers like this:

Adblock Detected

Please consider supporting us by disabling your ad blocker