I've been experimenting with tweet entities and they seem to work very
well.

I did run across this tweet that did not display properly (when
compared to a regex version):

http://twitter.com/bcherry/status/22825663746

(From a twitter list)

That returned these entities:

{"urls":[{"indices":[36,70],"expanded_url":null,"url":"http://
lab.simurai.com/css/buttons"}],"hashtags":[],"user_mentions":
[{"indices":[46,54],"screen_name":"simurai","name":"simurai","id":
6896972},{"indices":[88,97],"screen_name":"flyosity","name":"Mike
Rundle \ue10d","id":10545}]}

At first I thought I was interpreting the entities improperly (which
is certainly possible) but then I noticed that the indices for the
user_mention of the user simurai are within the indices of the url
(which has that screen name in the url).

Am I missing something or is this a bug?

Also, I noticed that there is an expanded_url value that is always
null. Any idea when will this be populated with the expanded url?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en

Reply via email to