Re: [twitter-dev] Breaking change on Lists API endpoint?

2010-07-23 Thread Taylor Singletary
Thanks for your good-humored analysis of the issue. This is a new
feature we haven't documented or announced yet, and causes a conflict
we should have obviously thought more deeply about in advance.

Here's a work around to access the same end point you know and love
for lists named "all":

https://api.twitter.com/1/STLT_Business/lists/show.xml?list_id=all

(which would work for twitter/team also).

https://api.twitter.com/1/twitter/lists/show.xml?list_id=team

More about this mysterious lists/all later. Let me know if this
alternate access point doesn't provide the output you are expecting.

Taylor


On Fri, Jul 23, 2010 at 12:22 PM, @IDisposable  wrote:
> When trying to translate a list slug to a list ID, we make a call
> against  the API endpoint 
> https://api.twitter.com/1/STLT_Business/lists/tech.xml
>
> (where STLT_Business is the Twitter Screen name and tech is the list
> slug)
>
> This returns a nice valid XML like this:
> 
>  7866001
>  Tech
>  @STLT_Business/tech
>  tech
>  Programmers, developers, technology reporters and
> bloggers from St. Louis
>  2
>  66
>  /STLT_Business/tech
>  false
>  public
>  
>    95984397
>    STL Tweets Business
>    STLT_Business
>    St. Louis, MO
>    I'm watching St. Louis businesses, organizations,
> reporters and columnists.
>    http://a3.twimg.com/profile_images/661611485/
> STLT-Twitter_Pic-business_normal.png
>    http://stltweets.com/Tweets/Business
>    false
>    111
>    ff
>    9c9c9c
>    5483c9
>    062042
>    C0DEED profile_sidebar_border_color>
>    256
>    Thu Dec 10 21:11:58 + 2009
>    0
>    -21600
>    Central Time (US & Canada)
>    http://a1.twimg.com/
> profile_background_images/70631318/STLT-Twitter_Profile-business.png profile_background_image_url>
>    false
>    true
>    false
>    true
>    false
>    false
>    31
>    en
>    false
>    false
>    
>  
> 
>
> As of sometime today, that process started not to work when the list
> slug is "all".  Instead of getting the information like shown above
> (e.g. an XML root node of , we get a response with ALL of my
> lists. This did NOT happen before today.  Here's the sample from
> https://api.twitter.com/1/STLT_Business/lists/all.xml
>
> 
> 
>  7866001
>  Tech
>  @STLT_Business/tech
>  tech
>  Programmers, developers, technology reporters and
> bloggers from St. Louis
>  2
>  66
>  /STLT_Business/tech
>  false
>  public
>  
>    95984397
>    STL Tweets Business
>    STLT_Business
>    St. Louis, MO
>    I'm watching St. Louis businesses, organizations,
> reporters and columnists.
>    http://a3.twimg.com/profile_images/661611485/
> STLT-Twitter_Pic-business_normal.png
>    http://stltweets.com/Tweets/Business
>    false
>    111
>    ff
>    9c9c9c
>    5483c9
>    062042
>    C0DEED profile_sidebar_border_color>
>    256
>    Thu Dec 10 21:11:58 + 2009
>    0
>    -21600
>    Central Time (US & Canada)
>    http://a1.twimg.com/
> profile_background_images/70631318/STLT-Twitter_Profile-business.png profile_background_image_url>
>    false
>    true
>    false
>    true
>    false
>    false
>    31
>    en
>    false
>    false
>    
>  
> 
> 
>  7865951
>  Economy_and_Finance
>  @STLT_Business/economy-and-finance
>  economy-and-finance
>  Local St. Louis columnists, analysts, reporters
> covering finance, economics and investing. 
>  1
>  14
>  /STLT_Business/economy-and-finance
>  false
>  public
>  
>    95984397
>    STL Tweets Business
>    STLT_Business
>    St. Louis, MO
>    I'm watching St. Louis businesses, organizations,
> reporters and columnists.
>    http://a3.twimg.com/profile_images/661611485/
> STLT-Twitter_Pic-business_normal.png
>    http://stltweets.com/Tweets/Business
>    false
>    110
>    ff
>    9c9c9c
>    5483c9
>    062042
>    C0DEED profile_sidebar_border_color>
>    245
>    Thu Dec 10 21:11:58 + 2009
>    0
>    -21600
>    Central Time (US & Canada)
>    http://a1.twimg.com/
> profile_background_images/70631318/STLT-Twitter_Profile-business.png profile_background_image_url>
>    false
>    true
>    false
>    true
>    false
>    false
>    30
>    en
>    false
>    false
>  
> 
> 
>  7865907
>  Local_Independents
>  @STLT_Business/local-independents
>  local-independents
>  Small, Indie businesses of all kinds in St. Louis. description>
>  3
>  43
>  /STLT_Business/local-independents
>  false
>  public
>  
>    95984397
>    STL Tweets Business
>    STLT_Business
>    St. Louis, MO
>    I'm watching St. Louis businesses, organizations,
> reporters and columnists.
>    http://a3.twimg.com/profile_images/661611485/
> STLT-Twitter_Pic-business_normal.png
>    http://stltweets.com/Tweets/Business
>    false
>    110
>    ff
>    9c9c9c
>    5483c9
>    062042
>    C0DEED profile_sidebar_border_color>
>    246
>    Thu Dec 10 21:11:58 + 2009
>    0
>    -21600
>    Central Time (US & Canada)
>    http://a1.twimg.com/
> profile_background_images/70631318/STLT-Twitter_Profile-business.png profile_background_image_url>
>   

[twitter-dev] Breaking change on Lists API endpoint?

2010-07-23 Thread @IDisposable
When trying to translate a list slug to a list ID, we make a call
against  the API endpoint https://api.twitter.com/1/STLT_Business/lists/tech.xml

(where STLT_Business is the Twitter Screen name and tech is the list
slug)

This returns a nice valid XML like this:

  7866001
  Tech
  @STLT_Business/tech
  tech
  Programmers, developers, technology reporters and
bloggers from St. Louis
  2
  66
  /STLT_Business/tech
  false
  public
  
95984397
STL Tweets Business
STLT_Business
St. Louis, MO
I'm watching St. Louis businesses, organizations,
reporters and columnists.
http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png
http://stltweets.com/Tweets/Business
false
111
ff
9c9c9c
5483c9
062042
C0DEED
256
Thu Dec 10 21:11:58 + 2009
0
-21600
Central Time (US & Canada)
http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png
false
true
false
true
false
false
31
en
false
false

  


As of sometime today, that process started not to work when the list
slug is "all".  Instead of getting the information like shown above
(e.g. an XML root node of , we get a response with ALL of my
lists. This did NOT happen before today.  Here's the sample from
https://api.twitter.com/1/STLT_Business/lists/all.xml



  7866001
  Tech
  @STLT_Business/tech
  tech
  Programmers, developers, technology reporters and
bloggers from St. Louis
  2
  66
  /STLT_Business/tech
  false
  public
  
95984397
STL Tweets Business
STLT_Business
St. Louis, MO
I'm watching St. Louis businesses, organizations,
reporters and columnists.
http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png
http://stltweets.com/Tweets/Business
false
111
ff
9c9c9c
5483c9
062042
C0DEED
256
Thu Dec 10 21:11:58 + 2009
0
-21600
Central Time (US & Canada)
http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png
false
true
false
true
false
false
31
en
false
false

  


  7865951
  Economy_and_Finance
  @STLT_Business/economy-and-finance
  economy-and-finance
  Local St. Louis columnists, analysts, reporters
covering finance, economics and investing. 
  1
  14
  /STLT_Business/economy-and-finance
  false
  public
  
95984397
STL Tweets Business
STLT_Business
St. Louis, MO
I'm watching St. Louis businesses, organizations,
reporters and columnists.
http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png
http://stltweets.com/Tweets/Business
false
110
ff
9c9c9c
5483c9
062042
C0DEED
245
Thu Dec 10 21:11:58 + 2009
0
-21600
Central Time (US & Canada)
http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png
false
true
false
true
false
false
30
en
false
false
  


  7865907
  Local_Independents
  @STLT_Business/local-independents
  local-independents
  Small, Indie businesses of all kinds in St. Louis.
  3
  43
  /STLT_Business/local-independents
  false
  public
  
95984397
STL Tweets Business
STLT_Business
St. Louis, MO
I'm watching St. Louis businesses, organizations,
reporters and columnists.
http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png
http://stltweets.com/Tweets/Business
false
110
ff
9c9c9c
5483c9
062042
C0DEED
246
Thu Dec 10 21:11:58 + 2009
0
-21600
Central Time (US & Canada)
http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png
false
true
false
true
false
false
30
en
false
false
  


  7865872
  STL_Corporations
  @STLT_Business/stl-corporations
  stl-corporations
  Major/National businesses (employers) based in St.
Louis.
  1
  28
  /STLT_Business/stl-corporations
  false
  public
  
95984397
STL Tweets Business
STLT_Business
St. Louis, MO
I'm watching St. Louis businesses, organizations,
reporters and columnists.
http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png
http://stltweets.com/Tweets/Business
false
110
ff
9c9c9c
5483c9
062042
C0DEED
253
Thu Dec 10 21:11:58 + 2009
0
-21600
Central Time (US & Canada)
http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png
false
true
false
true
false
false
31
en
false
false

false
  


  6962471
  Marketing
  @STLT_Business/marketing
  marketing
  List of advertising and marketing companies in St.
Louis, MO
  4
  69
  /STLT_Business/marketing
  false
  public
  
95984397
STL