I have Javascript that uses the Twitter API to receive tweets. I parse the data and use jQuery to generate HTML for the DOM.
The aspect of what I want to display is the “View this tweet” link - yes, sorta sounds silly, but it allows the user to get the URL for a particular tweet.
I am creating a tag with href. The URL has the form:
http://twitter.com/{twitter-user-id}/status/{tweet-status-id}
where the contents of the curly braces are the actual data extracted from the tweet (no, I do not include the curly braces). For example:
http:
What happens in the work is that it works for some tweets, but not for others. For those who fail, the Twitter server responds with content that says the requested page does not exist.
Am I doing something wrong?
twitter
Zhami Apr 13 '11 at 15:59 2011-04-13 15:59
source share