var sinceID_pfubjssbyp_twitter= “1323605189299941377”;
var maxID_pfubjssbyp_twitter= “1312906491872129024”;
jQuery(document).ready(function () {
jQuery(“#loadMore_pfubjssbyp_twitter”).click(function () {
jQuery(“#loadMore_pfubjssbyp_twitter”).addClass(‘fts-fb-spinner’);
var button = jQuery(‘#loadMore_pfubjssbyp_twitter’).html(‘
‘);
console.log(button);
var yes_ajax = “yes”;
var fts_d_name = “pfubjssbyp_twitter”;
var fts_security = “3e7ad4c384”;
var fts_time = “1604589993”;
var feed_name = “fts_twitter”;
var loadmore_count = “tweets_count=50”;
var feed_attributes = {“twitter_name”:”cryptopolis_x”,”tweets_count”:”99″,”cover_photo”:”no”,”stats_bar”:”yes”,”show_retweets”:”yes”,”show_replies”:”yes”,”loadmore”:”button”,”loadmore_count”:”50″,”loadmore_btn_maxwidth”:”300px”,”loadmore_btn_margin”:”10px”};
jQuery.ajax({
data: {
action: “my_fts_fb_load_more”,
since_id: sinceID_pfubjssbyp_twitter,
max_id: maxID_pfubjssbyp_twitter,
fts_dynamic_name: fts_d_name,
load_more_ajaxing: yes_ajax,
fts_security: fts_security,
fts_time: fts_time,
feed_name: feed_name,
loadmore_count: loadmore_count,
feed_attributes: feed_attributes
},
type: ‘GET’,
url: “https://www.xrparmynews.com/wp-admin/admin-ajax.php”,
success: function (data) {
console.log(‘Well Done and got this from sever: ‘ + data);
jQuery(‘.feed_dynamic_classpfubjssbyp_twitter’).append(data).filter(‘.feed_dynamic_classpfubjssbyp_twitter’).html();
if (!maxID_pfubjssbyp_twitter || maxID_pfubjssbyp_twitter == ‘no more’) {
jQuery(‘#loadMore_pfubjssbyp_twitter’).replaceWith(‘
End of Tweets
‘);
jQuery(‘#loadMore_pfubjssbyp_twitter’).removeAttr(‘id’);
jQuery(“.feed_dynamic_classpfubjssbyp_twitter”).unbind(‘scroll’);
}
jQuery(‘#loadMore_pfubjssbyp_twitter’).html(‘Load More’);
// jQuery(‘#loadMore_’).removeClass(‘flip360-fts-load-more’);
jQuery(“#loadMore_pfubjssbyp_twitter”).removeClass(‘fts-fb-spinner’);
// Reload the share each funcion otherwise you can’t open share option.
jQuery.fn.ftsShare();
}
}); // end of ajax()
return false;
}
); // end of form.submit
}); // end of document.ready