var sinceID_sdtelbfjxm_twitter= “1321492176514277378”;
var maxID_sdtelbfjxm_twitter= “1301140616471097345”;
jQuery(document).ready(function () {
jQuery(“#loadMore_sdtelbfjxm_twitter”).click(function () {
jQuery(“#loadMore_sdtelbfjxm_twitter”).addClass(‘fts-fb-spinner’);
var button = jQuery(‘#loadMore_sdtelbfjxm_twitter’).html(‘
‘);
console.log(button);
var yes_ajax = “yes”;
var fts_d_name = “sdtelbfjxm_twitter”;
var fts_security = “82dfa0b296”;
var fts_time = “1603907507”;
var feed_name = “fts_twitter”;
var loadmore_count = “tweets_count=50”;
var feed_attributes = {“twitter_name”:”crypto_ceej”,”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_sdtelbfjxm_twitter,
max_id: maxID_sdtelbfjxm_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_classsdtelbfjxm_twitter’).append(data).filter(‘.feed_dynamic_classsdtelbfjxm_twitter’).html();
if (!maxID_sdtelbfjxm_twitter || maxID_sdtelbfjxm_twitter == ‘no more’) {
jQuery(‘#loadMore_sdtelbfjxm_twitter’).replaceWith(‘
End of Tweets
‘);
jQuery(‘#loadMore_sdtelbfjxm_twitter’).removeAttr(‘id’);
jQuery(“.feed_dynamic_classsdtelbfjxm_twitter”).unbind(‘scroll’);
}
jQuery(‘#loadMore_sdtelbfjxm_twitter’).html(‘Load More’);
// jQuery(‘#loadMore_’).removeClass(‘flip360-fts-load-more’);
jQuery(“#loadMore_sdtelbfjxm_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