<< Back to Twitter API Documentation
Twitter REST API Method: GET /:user/:list_id/members/:id
Check if a user is a member of the specified list.
URL:
http://api.twitter.com/1/user/list_id/members/id.format
Formats:
xml, json
HTTP Method(s):
GET
Requires Authentication (about authentication):
true
API rate limited (about rate limiting):
true
Parameters:
- list_id. Required. The id or slug of the list.
- id. Required. The id or screen name of the user who you want to know is a member or not of the specified list.
Usage examples:
cURL (about cURL):
curl -u user:password http://api.twitter.com/1/twitterapi/team/members/3191321.xml
Response (about return values):
XML example:
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id>3191321</id>
<name>Marcel Molina</name>
<screen_name>noradio</screen_name>
<location>San Francisco, CA</location>
<description>Engineer at Twitter on the @twitterapi team, obsessed with rock climbing & running. In a past life I was a member of the Rails Core team.</description>
<profile_image_url>http://a3.twimg.com/profile_images/53473799/marcel-euro-rails-conf_normal.jpg</profile_image_url>
<url>http://project.ioni.st</url>
<protected>false</protected>
<followers_count>102274</followers_count>
<profile_background_color>9AE4E8</profile_background_color>
<profile_text_color>333333</profile_text_color>
<profile_link_color>0084B4</profile_link_color>
<profile_sidebar_fill_color>DDFFCC</profile_sidebar_fill_color>
<profile_sidebar_border_color>BDDCAD</profile_sidebar_border_color>
<friends_count>356</friends_count>
<created_at>Mon Apr 02 07:47:28 +0000 2007</created_at>
<favourites_count>137</favourites_count>
<utc_offset>-28800</utc_offset>
<time_zone>Pacific Time (US & Canada)</time_zone>
<profile_background_image_url>http://a1.twimg.com/profile_background_images/18156348/jessica_tiled.jpg.jpeg</profile_background_image_url>
<profile_background_tile>true</profile_background_tile>
<statuses_count>3529</statuses_count>
<notifications>false</notifications>
<geo_enabled>true</geo_enabled>
<verified>false</verified>
<following>false</following>
<status>
<created_at>Wed Nov 04 22:34:54 +0000 2009</created_at>
<id>5432511443</id>
<text>@seanhussey http://compsoc.dur.ac.uk/whitespace/ ;-)</text>
<source><a href="http://www.atebits.com/" rel="nofollow">Tweetie</a></source>
<truncated>false</truncated>
<in_reply_to_status_id>5432477985</in_reply_to_status_id>
<in_reply_to_user_id>14685595</in_reply_to_user_id>
<favorited>false</favorited>
<in_reply_to_screen_name>seanhussey</in_reply_to_screen_name>
<geo/>
</status>
</user>
Comments (0)
You don't have permission to comment on this page.