- @4sqff_test has tweets protected
- @twst_dev has tweets protected
- @4sqff_test is following @twst_dev
- @4sqff_test has a single private list "test list", with two members @cbs (an account with public tweets) and @twst_dev (an account with protected tweets).
When I call lists/memberships for a protected user with the filter_to_owned_lists parameter =true, I always get an empty list. I would expect that I should see my own lists.
When I call lists/members on "test list" (authenticated), I see both user lists/members.json?cursor=-1&list_id=67072775&owner_id=366813606:
-
{ -
"next_cursor" = 0;
-
"next_cursor_str" = 0;
-
"previous_cursor" = 0;
-
"previous_cursor_str" = 0;
-
users = (
-
{ -
"contributors_enabled" = 1;
-
"created_at" = "Thu Jun 05 00:54:31 +0000 2008";
-
"default_profile" = 0;
-
"default_profile_image" = 0;
-
description = "The official twitter feed of CBS News. Follow us for original reporting and trusted news with content and perspective found nowhere else.";
-
"favourites_count" = 32;
-
"follow_request_sent" = "<null>";
-
"followers_count" = 1985116;
-
following = "<null>";
-
"friends_count" = 182;
-
"geo_enabled" = 0;
-
id = 15012486;
-
"id_str" = 15012486;
-
"is_translator" = 0;
-
lang = en;
-
"listed_count" = 24557;
-
location = "New York, NY";
-
name = "CBS News";
-
notifications = "<null>";
-
"profile_background_color" = 282727;
-
"profile_background_image_url" = "http://a0.twimg.com/profile_background_images/426546272/cbsnews_twitter_skin_1040x.jpeg";
-
"profile_background_image_url_https" = "https://si0.twimg.com/profile_background_images/426546272/cbsnews_twitter_skin_1040x.jpeg";
-
"profile_background_tile" = 0;
-
"profile_banner_url" = "https://si0.twimg.com/brand_banners/CBSNews/1329408962/live";
-
"profile_image_url" = "http://a0.twimg.com/profile_images/1213095644/CBS-eye-white-bg_normal.jpg";
-
"profile_image_url_https" = "https://si0.twimg.com/profile_images/1213095644/CBS-eye-white-bg_normal.jpg";
-
"profile_link_color" = e23413;
-
"profile_sidebar_border_color" = ffffff;
-
"profile_sidebar_fill_color" = eaedf0;
-
"profile_text_color" = 000000;
-
"profile_use_background_image" = 1;
-
protected = 0;
-
"screen_name" = CBSNews;
-
"show_all_inline_media" = 0;
-
status = {
-
contributors = "<null>";
-
coordinates = "<null>";
-
"created_at" = "Tue Mar 13 02:02:35 +0000 2012";
-
favorited = 0;
-
geo = "<null>";
-
id = 179386947674980352;
-
"id_str" = 179386947674980352;
-
"in_reply_to_screen_name" = "<null>";
-
"in_reply_to_status_id" = "<null>";
-
"in_reply_to_status_id_str" = "<null>";
-
"in_reply_to_user_id" = "<null>";
-
"in_reply_to_user_id_str" = "<null>";
-
place = "<null>";
-
"possibly_sensitive" = 0;
-
"retweet_count" = 34;
-
retweeted = 0;
-
source = "<a href=\"http://www.hootsuite.com\" rel=\"nofollow\">HootSuite</a>";
-
text = "A man attacked a mosque in Belgium near Brussels with Molotov cocktails; imam dies fighting flames - http://t.co/X4FRak8z";
-
truncated = 0;
-
};
-
"statuses_count" = 28139;
-
"time_zone" = "Eastern Time (US & Canada)";
-
url = "http://cbsnews.com";
-
"utc_offset" = "-18000";
-
verified = 1;
-
},
-
{ -
"contributors_enabled" = 0;
-
"created_at" = "Sat Dec 10 03:11:45 +0000 2011";
-
"default_profile" = 1;
-
"default_profile_image" = 0;
-
description = "";
-
"favourites_count" = 0;
-
"follow_request_sent" = 0;
-
"followers_count" = 1;
-
following = 1;
-
"friends_count" = 7;
-
"geo_enabled" = 0;
-
id = 433063777;
-
"id_str" = 433063777;
-
"is_translator" = 0;
-
lang = en;
-
"listed_count" = 0;
-
location = "";
-
name = "twst_dev";
-
notifications = 0;
-
"profile_background_color" = C0DEED;
-
"profile_background_image_url" = "http://a0.twimg.com/images/themes/theme1/bg.png";
-
"profile_background_image_url_https" = "https://si0.twimg.com/images/themes/theme1/bg.png";
-
"profile_background_tile" = 0;
-
"profile_image_url" = "http://a0.twimg.com/profile_images/1887883467/image_normal.jpg";
-
"profile_image_url_https" = "https://si0.twimg.com/profile_images/1887883467/image_normal.jpg";
-
"profile_link_color" = 0084B4;
-
"profile_sidebar_border_color" = C0DEED;
-
"profile_sidebar_fill_color" = DDEEF6;
-
"profile_text_color" = 333333;
-
"profile_use_background_image" = 1;
-
protected = 1;
-
"screen_name" = "twst_dev";
-
"show_all_inline_media" = 0;
-
"statuses_count" = 0;
-
"time_zone" = Alaska;
-
url = "<null>";
-
"utc_offset" = "-32400";
-
verified = 0;
-
} -
);
-
}
...when I get lists memberships to my lists for @cbs (authenticated), I get my list back lists/memberships.json?user_id=15012486&filter_to_owned_lists=true
-
{ -
lists = (
-
{ -
"created_at" = "Tue Mar 13 03:42:35 +0000 2012";
-
description = "";
-
following = 0;
-
"full_name" = "@4sqff_test/test-list";
-
id = 67072775;
-
"id_str" = 67072775;
-
"member_count" = 2;
-
mode = private;
-
name = "test list";
-
slug = "test-list";
-
"subscriber_count" = 0;
-
uri = "/4sqff_test/test-list";
-
user = {
-
"contributors_enabled" = 0;
-
"created_at" = "Fri Sep 02 21:39:26 +0000 2011";
-
"default_profile" = 1;
-
"default_profile_image" = 1;
-
description = "";
-
"favourites_count" = 0;
-
"follow_request_sent" = 0;
-
"followers_count" = 1;
-
following = 0;
-
"friends_count" = 1;
-
"geo_enabled" = 0;
-
id = 366813606;
-
"id_str" = 366813606;
-
"is_translator" = 0;
-
lang = en;
-
"listed_count" = 0;
-
location = "";
-
name = "4sqff Test";
-
notifications = 0;
-
"profile_background_color" = C0DEED;
-
"profile_background_image_url" = "http://a0.twimg.com/images/themes/theme1/bg.png";
-
"profile_background_image_url_https" = "https://si0.twimg.com/images/themes/theme1/bg.png";
-
"profile_background_tile" = 0;
-
"profile_image_url" = "http://a0.twimg.com/sticky/default_profile_images/default_profile_5_normal.png";
-
"profile_image_url_https" = "https://si0.twimg.com/sticky/default_profile_images/default_profile_5_normal.png";
-
"profile_link_color" = 0084B4;
-
"profile_sidebar_border_color" = C0DEED;
-
"profile_sidebar_fill_color" = DDEEF6;
-
"profile_text_color" = 333333;
-
"profile_use_background_image" = 1;
-
protected = 1;
-
"screen_name" = "4sqff_test";
-
"show_all_inline_media" = 0;
-
"statuses_count" = 1465;
-
"time_zone" = "Pacific Time (US & Canada)";
-
url = "<null>";
-
"utc_offset" = "-28800";
-
verified = 0;
-
};
-
} -
);
-
"next_cursor" = 0;
-
"next_cursor_str" = 0;
-
"previous_cursor" = 0;
-
"previous_cursor_str" = 0;
-
}
...however, when I get lists memberships to my lists for @twst_dev (authenticated), I an empty array back lists/memberships.json?user_id=433063777&filter_to_owned_lists=true
-
{ -
lists = (
-
);
-
"next_cursor" = 0;
-
"next_cursor_str" = 0;
-
"previous_cursor" = 0;
-
"previous_cursor_str" = 0;
-
}
Updates
- Thanks for the report, I've filed this with the team.