Gentlefolk,
Twitter is currently sending the wrong JSON data for entities. Two
examples are below.
Anon,
Andrew
____________________________________
Andrew W. Donoho
Donoho Design Group, L.L.C.
[email protected], +1 (512) 750-7596
"We did not come to fear the future.
We came here to shape it."
-- President Barack Obama, Sept. 2009
Normal Entity JSON:
{
contributors = <null>;
coordinates = <null>;
"created_at" = "Thu Sep 09 22:54:12 +0000 2010";
entities = {
hashtags = (
);
urls = (
);
"user_mentions" = (
{
id = 110309681;
indices = (
0,
12
);
name = "John Walker";
"screen_name" = haikuwalker;
},
{
id = 28201579;
indices = (
26,
36
);
name = "Launch787 Matt";
"screen_name" = launch787;
}
);
};
favorited = 0;
geo = <null>;
id = 24050618494;
"in_reply_to_screen_name" = haikuwalker;
"in_reply_to_status_id" = <null>;
"in_reply_to_user_id" = 110309681;
place = <null>;
"retweet_count" = <null>;
retweeted = 0;
source = "<a href=\"http://www.ubertwitter.com/bb/download.php\"
rel=\"nofollow\">\U00dcberTwitter</a>";
text = "@haikuwalker is headed to @launch787 to bartend their event so
if you're there say hi or flick his ear";
truncated = 0;
user = {
"contributors_enabled" = 0;
"created_at" = "Tue Apr 03 13:55:30 +0000 2007";
description = " Branding Empath, WOMM believer, Annie Oakley,hoop
girl, @titosvodka creative, tap dance kid, dog saver, paranormal researcher,
prince dj";
"favourites_count" = 1;
"follow_request_sent" = 0;
"followers_count" = 2108;
following = 0;
"friends_count" = 2269;
"geo_enabled" = 0;
id = 3321501;
lang = en;
"listed_count" = 124;
location = "Austin, Texas";
name = "Elizabeth Bellanti";
notifications = 0;
"profile_background_color" = ffffff;
"profile_background_image_url" =
"http://a3.twimg.com/profile_background_images/85553889/back_1_mini.jpg";
"profile_background_tile" = 0;
"profile_image_url" =
"http://a3.twimg.com/profile_images/704874191/GetAttachment-20.aspx_normal.jpeg";
"profile_link_color" = 0000ff;
"profile_sidebar_border_color" = 87bc44;
"profile_sidebar_fill_color" = e0ff92;
"profile_text_color" = 000000;
"profile_use_background_image" = 1;
protected = 0;
"screen_name" = BeBellanti;
"show_all_inline_media" = 0;
"statuses_count" = 5203;
"time_zone" = "Central Time (US & Canada)";
url = "http://www.bellantibranding.com ";
"utc_offset" = -21600;
verified = 0;
};
}
In error entity JSON (Please note the broken hashtags and urls entities too.):
{
contributors = <null>;
coordinates = <null>;
"created_at" = "Thu Sep 09 22:54:04 +0000 2010";
entities = {
hashtags = (
RoundRockJelly
);
urls = (
RoundRockJelly
);
"user_mentions" = (
LaughlinJames,
SheilaS,
MikeChapman
);
};
favorited = 0;
geo = <null>;
id = 24050609162;
"in_reply_to_screen_name" = <null>;
"in_reply_to_status_id" = <null>;
"in_reply_to_user_id" = <null>;
place = <null>;
"retweet_count" = <null>;
retweeted = 0;
source = "<a href=\"http://www.tweetdeck.com\"
rel=\"nofollow\">TweetDeck</a>";
text = "BTW I was looking at my calendar, and I'll be at
#RoundRockJelly around 12:15 tomorrow. cc: @LaughlinJames @SheilaS
@MikeChapman";
truncated = 0;
user = {
"contributors_enabled" = 0;
"created_at" = "Wed Jul 30 03:18:30 +0000 2008";
description = "I am passionate about a few things: Technology,
Music, Cars, Film, Literature. And when they meet it's a happy land, powerful
man, universe man.
\n";
"favourites_count" = 2;
"follow_request_sent" = 0;
"followers_count" = 594;
following = 1;
"friends_count" = 1182;
"geo_enabled" = 1;
id = 15655817;
lang = en;
"listed_count" = 32;
location = "iPhone: 33.799387,-96.543261";
name = bryankemp;
notifications = 0;
"profile_background_color" = 131516;
"profile_background_image_url" =
"http://a1.twimg.com/profile_background_images/128932514/twilk_background_4c5344556a142.jpg";
"profile_background_tile" = 1;
"profile_image_url" = "http:/[Switching to process 5027]
/a3.twimg.com/profile_images/962222039/13636e27-febc-478a-ac26-bc9a13ca77ee_normal.png";
"profile_link_color" = 009999;
"profile_sidebar_border_color" = eeeeee;
"profile_sidebar_fill_color" = efefef;
"profile_text_color" = 333333;
"profile_use_background_image" = 1;
protected = 0;
"screen_name" = bryankemp;
"show_all_inline_media" = 0;
"statuses_count" = 1969;
"time_zone" = "Central Time (US & Canada)";
url = "http://blog.kempville.com";
"utc_offset" = -21600;
verified = 0;
};
}
--
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