How to retrieve a tweet from its ID

codebird
javascript

#1

In JS with a sample ? I use “search_tweets” with q paremeter by it seems wrong… Thanks

me._cb.__call(
"search_tweets",
"q=id:692597846713995264",
function (reply, rate, err) {
//...
},
false // this parameter required
);

Retrieve tweet from its shorten URL
#2

You would need to use GET statuses/show/:id to retrieve an individual status. I’ve no idea what that would look like in the Javascript library you are using.


#3

Thanks, I am looking for this “analogy” with CodeBird for JS, impossible to find…


#4

Looking at the Codebird.js README, this seems to be what you need

statuses/show/:id maps to cb.__call("statuses_show_ID", 'id=12345', ...)