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:
<list>
  <id>7866001</id>
  <name>Tech</name>
  <full_name>@STLT_Business/tech</full_name>
  <slug>tech</slug>
  <description>Programmers, developers, technology reporters and
bloggers from St. Louis</description>
  <subscriber_count>2</subscriber_count>
  <member_count>66</member_count>
  <uri>/STLT_Business/tech</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>111</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>256</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>31</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
    <listed_count></listed_count>
  </user>
</list>

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 <list>, 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

<lists type="array">
<list>
  <id>7866001</id>
  <name>Tech</name>
  <full_name>@STLT_Business/tech</full_name>
  <slug>tech</slug>
  <description>Programmers, developers, technology reporters and
bloggers from St. Louis</description>
  <subscriber_count>2</subscriber_count>
  <member_count>66</member_count>
  <uri>/STLT_Business/tech</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>111</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>256</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>31</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
    <listed_count></listed_count>
  </user>
</list>
<list>
  <id>7865951</id>
  <name>Economy_and_Finance</name>
  <full_name>@STLT_Business/economy-and-finance</full_name>
  <slug>economy-and-finance</slug>
  <description>Local St. Louis columnists, analysts, reporters
covering finance, economics and investing. </description>
  <subscriber_count>1</subscriber_count>
  <member_count>14</member_count>
  <uri>/STLT_Business/economy-and-finance</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>110</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>245</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>30</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
  </user>
</list>
<list>
  <id>7865907</id>
  <name>Local_Independents</name>
  <full_name>@STLT_Business/local-independents</full_name>
  <slug>local-independents</slug>
  <description>Small, Indie businesses of all kinds in St. Louis.</
description>
  <subscriber_count>3</subscriber_count>
  <member_count>43</member_count>
  <uri>/STLT_Business/local-independents</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>110</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>246</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>30</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
  </user>
</list>
<list>
  <id>7865872</id>
  <name>STL_Corporations</name>
  <full_name>@STLT_Business/stl-corporations</full_name>
  <slug>stl-corporations</slug>
  <description>Major/National businesses (employers) based in St.
Louis.</description>
  <subscriber_count>1</subscriber_count>
  <member_count>28</member_count>
  <uri>/STLT_Business/stl-corporations</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>110</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>253</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>31</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
    <listed_count></listed_count>
    <show_all_inline_media>false</show_all_inline_media>
  </user>
</list>
<list>
  <id>6962471</id>
  <name>Marketing</name>
  <full_name>@STLT_Business/marketing</full_name>
  <slug>marketing</slug>
  <description>List of advertising and marketing companies in St.
Louis, MO</description>
  <subscriber_count>4</subscriber_count>
  <member_count>69</member_count>
  <uri>/STLT_Business/marketing</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>109</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>242</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>30</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
  </user>
</list>
<list>
  <id>6487960</id>
  <name>All</name>
  <full_name>@STLT_Business/all</full_name>
  <slug>all</slug>
  <description>All business related tweets</description>
  <subscriber_count>7</subscriber_count>
  <member_count>231</member_count>
  <uri>/STLT_Business/all</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>111</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>257</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>31</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
    <listed_count></listed_count>
  </user>
</list>
<list>
  <id>4484637</id>
  <name>Development/Construction</name>
  <full_name>@STLT_Business/development-construction</full_name>
  <slug>development-construction</slug>
  <description>Development and construction related information</
description>
  <subscriber_count>0</subscriber_count>
  <member_count>14</member_count>
  <uri>/STLT_Business/development-construction</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>96</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>215</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>27</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
  </user>
</list>
<list>
  <id>4484610</id>
  <name>Real Estate</name>
  <full_name>@STLT_Business/real-estate</full_name>
  <slug>real-estate</slug>
  <description>Real estate information</description>
  <subscriber_count>1</subscriber_count>
  <member_count>29</member_count>
  <uri>/STLT_Business/real-estate</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>110</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>250</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>30</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
    <listed_count></listed_count>
  </user>
</list>
<list>
  <id>4484565</id>
  <name>Jobs</name>
  <full_name>@STLT_Business/jobs</full_name>
  <slug>jobs</slug>
  <description>Information on jobs available</description>
  <subscriber_count>0</subscriber_count>
  <member_count>21</member_count>
  <uri>/STLT_Business/jobs</uri>
  <following>false</following>
  <mode>public</mode>
  <user>
    <id>95984397</id>
    <name>STL Tweets Business</name>
    <screen_name>STLT_Business</screen_name>
    <location>St. Louis, MO</location>
    <description>I'm watching St. Louis businesses, organizations,
reporters and columnists.</description>
    <profile_image_url>http://a3.twimg.com/profile_images/661611485/
STLT-Twitter_Pic-business_normal.png</profile_image_url>
    <url>http://stltweets.com/Tweets/Business</url>
    <protected>false</protected>
    <followers_count>111</followers_count>
    <profile_background_color>ffffff</profile_background_color>
    <profile_text_color>9c9c9c</profile_text_color>
    <profile_link_color>5483c9</profile_link_color>
    <profile_sidebar_fill_color>062042</profile_sidebar_fill_color>
    <profile_sidebar_border_color>C0DEED</
profile_sidebar_border_color>
    <friends_count>253</friends_count>
    <created_at>Thu Dec 10 21:11:58 +0000 2009</created_at>
    <favourites_count>0</favourites_count>
    <utc_offset>-21600</utc_offset>
    <time_zone>Central Time (US &amp; Canada)</time_zone>
    <profile_background_image_url>http://a1.twimg.com/
profile_background_images/70631318/STLT-Twitter_Profile-business.png</
profile_background_image_url>
    <profile_background_tile>false</profile_background_tile>
    <profile_use_background_image>true</profile_use_background_image>
    <notifications>false</notifications>
    <geo_enabled>true</geo_enabled>
    <verified>false</verified>
    <following>false</following>
    <statuses_count>31</statuses_count>
    <lang>en</lang>
    <contributors_enabled>false</contributors_enabled>
    <follow_request_sent>false</follow_request_sent>
    <listed_count></listed_count>
  </user>
</list>
</lists>

Note that we have an XML root node of <lists>.  I think someone goofed
and made the slug of "all" mean "almost" the same thing as the
https://api.twitter.com/1/STLT_Business/lists.xml (which surrounds the
same response above with a <lists_list> root node.

Is this intentional? Will it be undone?

Should I change my coding to handle this undocumented feature?

Should I rename my ALL lists to Everyone and hope than never becomes a
reserved word?

What's the plan? :)

Reply via email to