Skip to content

Twitter API to the rescue

23/01/2012

A. Tabone

Sometimes I half-remember a tweet, something that a person I follow on
Twitter had shared. Visiting the Twitter profile of this person and
browsing through it, manually searching for THE tweet, can take quite some
time.

I encounter this difficulty in cases where I vaguely remember the tweet,
perhaps just a phrase of it, but forget the link that was shared to a
particular blog post or video that caught my attention.

Fortunately, Twitter provides an API. By browsing through the
documentation,
I found this URL to be very useful in such cases:

https://api.twitter.com/1/statuses/user_timeline.json?screen_name=TWITTER_USERNAME_HERE&include_entities=true&count=200&include_rts=true

(This displays the last 200 tweets published by the user
with screen_name TWITTER_USERNAME_HERE.)

A Ctrl+F in the browser helps to find the complete tweet (and its metadata)
by searching for the phrase or words that I had remembered.>

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Basic HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS

Follow

Get every new post delivered to your Inbox.

Join 218 other followers