how to use twitter api with javascript?
I am using the below code to search about something -
$.getJSON('https://api.twitter.com/1.1/search/tweets.json?q=tutspremium&callback=?',
function(data){
console.log(data);
});
but it is showing error of
jquery110205044063129462302_1377238636248({"errors":[{"message":"Bad
Authentication data","code":215}]});
how to pass the oauth data to it so that it can authenticate
properly?please help
No comments:
Post a Comment