dev-ext / twitterjs

Automatically exported from code.google.com/p/twitterjs
MIT License
0 stars 0 forks source link

status id is not correct #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using <a 
href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a>
2. Link will not be correct
3.

What is the expected output? What do you see instead?
twitterjs is pulling the status id as 25387996568092670 which leads to a page 
not found. in reality, the status id is 25387996568092672

What version of the product are you using? On what operating system?
1.13.1

Please provide any additional information below.

Original issue reported on code.google.com by ad...@goepidemic.com on 14 Jan 2011 at 5:57

GoogleCodeExporter commented 9 years ago
I also have this problem. Exactly as described.

Original comment by the.gor...@gmail.com on 20 Jan 2011 at 8:34

GoogleCodeExporter commented 9 years ago
Use id_str

Original comment by tyy...@gmail.com on 28 Jan 2011 at 2:04

GoogleCodeExporter commented 9 years ago
Agreed, use id_str, but also adapt link to suit the new format for Twitter 
status URLS:

<a href="http://twitter.com/#!/%user_screen_name%/status/%id_str%">%time%</a>

Note the #!/
and 'statuses' becomes 'status'

Original comment by sdirel...@gmail.com on 27 Apr 2011 at 11:13