Some API additions

3 views
Skip to first unread message

Alex Payne

unread,
Apr 3, 2008, 6:26:36 PM4/3/08
to twitter-deve...@googlegroups.com
Some changes I hope you'll all enjoy:

1. The users/show method now returns the following additional
attributes: time_zone, created_at, followers_count.

2. The "following" attribute returned by users/show should work more
reliably. This attribute is present if making an authenticated
request and returns a boolean value of whether or not the requesting
user in following the requested user.

3. If we've set up an account to "auto-friend" or "auto-follow",
notifications we now also automatically be turned on for any user your
bots automatically follow.

4. All status objects returned by the API will now include two new
attributes: in_reply_to and in_reply_to_user_id. We set those
attributes based on "@reply" messages. in_reply_to is the ID of the
status to which we think the user is replying. in_reply_to_user_id
should be fairly self-explanatory.

This set of changes was, as you can see, meant to target adding
helpful attributes to the most-used objects in the API.

The next set of changes will target additional filtering options,
since as "since" support for methods that are lacking it and so forth.
Further out, we're still working OAuth, the migration to
api.twitter.com, etc.

--
Alex Payne
http://twitter.com/al3x

Cameron Kaiser

unread,
Apr 3, 2008, 6:30:03 PM4/3/08
to twitter-deve...@googlegroups.com
> Some changes I hope you'll all enjoy:

Delicious! Thank you!

> The next set of changes will target additional filtering options,
> since as "since" support for methods that are lacking it and so forth.

This is what I'm particularly looking forward to.

--
------------------------------------ personal: http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems * www.floodgap.com * cka...@floodgap.com
-- Bowl angry. ----------------------------------------------------------------

gmail (codehooligans)

unread,
Apr 3, 2008, 7:10:27 PM4/3/08
to twitter-deve...@googlegroups.com
Awesome! These changes are in now?

P-

John Krutsch

unread,
Apr 3, 2008, 7:30:29 PM4/3/08
to twitter-deve...@googlegroups.com
Alex,

Thank you so much for your prompt attentivness.

John

Marco Kaiser

unread,
Apr 3, 2008, 7:34:31 PM4/3/08
to twitter-deve...@googlegroups.com
You nearly killed twhirl with these changes (well, bad luck, I guess...), but they are great!

Thanks!

John Krutsch

unread,
Apr 3, 2008, 7:30:29 PM4/3/08
to twitter-deve...@googlegroups.com
Alex,

Thank you so much for your prompt attentivness.

John

On Apr 3, 2008, at 4:26 PM, "Alex Payne" <al...@al3x.net> wrote:

Brad Hintze

unread,
Apr 3, 2008, 8:28:47 PM4/3/08
to twitter-deve...@googlegroups.com
Alex,

This is awesome! You are doing terrific things with the API.

Brad

Ed Finkler

unread,
Apr 3, 2008, 8:30:28 PM4/3/08
to twitter-deve...@googlegroups.com
On Thu, Apr 3, 2008 at 6:26 PM, Alex Payne <al...@al3x.net> wrote:
>
> Some changes I hope you'll all enjoy:
>
> 1. The users/show method now returns the following additional
> attributes: time_zone, created_at, followers_count.
>
> 2. The "following" attribute returned by users/show should work more
> reliably. This attribute is present if making an authenticated
> request and returns a boolean value of whether or not the requesting
> user in following the requested user.

Can these totally awesome things be added to the followers/following
lists, and/or the user info returned in statuses, or does that req a
join in the DB?

--
Ed Finkler
http://funkatron.com
AIM: funka7ron
ICQ: 3922133
Skype: funka7ron

John Krutsch

unread,
Apr 4, 2008, 11:18:13 AM4/4/08
to twitter-deve...@googlegroups.com
Right it would be great to know when I started following someone and
when folks started to follow me.

John

Andrew Badera

unread,
Apr 4, 2008, 11:24:36 AM4/4/08
to twitter-deve...@googlegroups.com
AAAAAAAAAAAAAAAAAAmen. Including protected users. ESPECIALLY protected users.
--
--Andy Badera
http://andrew.badera.us/
and...@badera.us
(518) 641-1280
Google me: http://www.google.com/search?q=andrew+badera

Andrew Badera

unread,
Apr 4, 2008, 11:26:16 AM4/4/08
to twitter-deve...@googlegroups.com
Though I don't mean to sound ungrateful in general, I'm sure the Twitter dev team is working their lower cheeks off.

Alex Payne

unread,
Apr 4, 2008, 4:58:02 PM4/4/08
to twitter-deve...@googlegroups.com
That one's on the list. We're reshuffling some database indexes this
weekend and hopefully we should be able to better support the queries
necessary to support that information via the API.

--
Alex Payne
http://twitter.com/al3x

dru...@hotmail.com

unread,
Apr 5, 2008, 1:39:43 PM4/5/08
to Twitter Development Talk
Just FYI, since this update it appears that there's now two
followers_count elements in the results for /users/show. This could
affect some parsers that expect only a single instance of the element:

<?xml version="1.0" encoding="UTF-8"?>
<user>
<id>11694452</id>
<name>Drew Marsh</name>
<screen_name>drub0y</screen_name>
<location>NYC, NY</location>
<description></description>
<profile_image_url>http://s3.amazonaws.com/twitter_production/
profile_images/42286502/me_normal.jpg</profile_image_url>
<url>http://blog.hackedbrain.com</url>
<protected>false</protected>
<profile_background_color>9ae4e8</profile_background_color>
<profile_text_color>000000</profile_text_color>
<profile_link_color>0000ff</profile_link_color>
<profile_sidebar_fill_color>e0ff92</profile_sidebar_fill_color>
<profile_sidebar_border_color>87bc44</profile_sidebar_border_color>
<friends_count>1</friends_count>
<followers_count>0</followers_count>
<created_at>Mon Dec 31 17:51:14 +0000 2007</created_at>
<favourites_count>1</favourites_count>
<utc_offset>-18000</utc_offset>
<time_zone>Eastern Time (US &amp; Canada)</time_zone>
<following>false</following>
<statuses_count>6</statuses_count>
<followers_count>0</followers_count>
<status>
<created_at>Sun Feb 24 21:21:12 +0000 2008</created_at>
<id>752650232</id>
<text>Commands, RoutedEvents, Bindigns, Styles and
ControlTemplates... these are a few of my favorite things.</text>
<source>web</source>
<truncated>false</truncated>
<in_reply_to></in_reply_to>
<in_reply_to_user_id></in_reply_to_user_id>
</status>
</user>

Andrew Badera

unread,
Apr 18, 2008, 10:04:11 AM4/18/08
to twitter-deve...@googlegroups.com
Am I now seeing emails from protected users? 100001% pure awesome!

harry

unread,
May 15, 2008, 12:54:23 PM5/15/08
to Twitter Development Talk
Do you have any timeframe for OAuth-support?

Alex Payne

unread,
May 15, 2008, 5:50:05 PM5/15/08
to twitter-deve...@googlegroups.com
Not at the moment, no.

--
Alex Payne
http://twitter.com/al3x

Reply all
Reply to author
Forward
0 new messages