[twitter-dev] Re: why are there tweets longer that 140 characters?

2011-08-05 Thread Jason Toy
I am counting unicode characters. On Aug 4, 4:58 pm, Jeremy Dunck jdu...@gmail.com wrote: Characters are not necessarily a single byte.  Which are you counting? On Thu, Aug 4, 2011 at 5:05 PM, Jason Toy jason...@gmail.com wrote: I see some tweets going through my system that are over

[twitter-dev] Re: why are there tweets longer that 140 characters?

2011-08-05 Thread Jason Toy
I see how to fix it,I have to html unescape the tweet, is it safe to html unescape all tweets ? On Aug 4, 4:58 pm, Jeremy Dunck jdu...@gmail.com wrote: Characters are not necessarily a single byte.  Which are you counting? On Thu, Aug 4, 2011 at 5:05 PM, Jason Toy jason...@gmail.com

[twitter-dev] Twitter mentions count=200

2011-08-05 Thread Paul
Can anyone please assist me, Im trying to get 200 mentions at a time, but twitter api only return 20 at a time (which is the default). I generate my base url and it returns teh following (which ive checked is correct). GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses

[twitter-dev] Twitter Place IDs and Yahoo WOEIDs - is there a link?

2011-08-05 Thread daniel.winterst...@gmail.com
Is there any link between Twitter place information and Yahoo place information? The Twitter trends API uses Yahoo WOEIDs. But the Twitter geo API talks about _Twitter_ place ids. It gives a list of other supported place-ids (https://dev.twitter.com/docs/places/finding-tweets-about-places) -- but

Re: [twitter-dev] Re: why are there tweets longer that 140 characters?

2011-08-05 Thread Taylor Singletary
If you're never going to show a tweet in a HTML context, it would be safe to unescape the entitized characters. Tweets are often fed directly from an API call to an HTML context, which is why we protect against malicious HTML by escaping certain tags. Storing as received is likely the best bet.