Hello there, well I encounter a problem when trying to create a social counter to my blog
I have this code
var t_page = 'ItzLamboTutos';
$.getJSON('http://cdn.api.twitter.com/1/users/show.json?screen_name='+t_page+'&callback=?', function(data) {
tshare__count = data['followers_count'];
$('.tshare__count').html(tshare__count);
});
Try updating the API thus
$.getJSON('https://api.twitter.com/1.1/users/show.json?screen_name='+t_page+'&callback=?', function(data) {
tshare__count = data['followers_count'];
$('.tshare__count').html(tshare__count);
});
But it gives me an error of OAuth, I wonder how could authenticate within the javascript code