diff --git a/lib/twitter/client/user.rb b/lib/twitter/client/user.rb index 360abed6b..368d95f91 100644 --- a/lib/twitter/client/user.rb +++ b/lib/twitter/client/user.rb @@ -119,6 +119,23 @@ def suggestions(*args) format.to_s.downcase == 'xml' ? response[xml_key] : response end + # Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user + # + # @see https://dev.twitter.com/docs/api/1/get/users/suggestions/:slug/members + # @rate_limited Yes + # @requires_authentication No + # @response_format `json` + # @response_format `xml` + # @param slug [String] The short name of list or a category. + # @param options [Hash] A customizable set of options. + # @return [Array] + # @example Return the users in the Art & Design category and their most recent status if they are not a protected user + # Twitter.suggest_users("art-design") + def suggest_users(slug, options={}) + response = get("1/users/suggestions/#{slug}/members", options) + format.to_s.downcase == 'xml' ? response['suggestions'] : response + end + # Access the profile image in various sizes for the user with the indicated screen name # # @see https://dev.twitter.com/docs/api/1/get/users/profile_image/:screen_name diff --git a/spec/fixtures/members.json b/spec/fixtures/members.json new file mode 100644 index 000000000..aea367b9c --- /dev/null +++ b/spec/fixtures/members.json @@ -0,0 +1 @@ +[{"profile_sidebar_fill_color":"f2f2f2","protected":false,"id_str":"77888423","notifications":false,"profile_background_tile":false,"screen_name":"OMGFacts","name":"OMGFacts","listed_count":27367,"location":"Northern California","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-28800,"profile_link_color":"006da8","description":"The #1 fact source on Twitter, posting since Sept 27, 2009. \r\n","default_profile":false,"profile_sidebar_border_color":"ffffff","url":null,"time_zone":"Pacific Time (US & Canada)","status":{"id_str":"110031604528844801","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/timely.is\" rel=\"nofollow\"\u003ETimely App\u003C\/a\u003E","created_at":"Sat Sep 03 16:49:13 +0000 2011","contributors":null,"retweeted":false,"retweet_count":"100+","id":110031604528844801,"place":null,"text":"The third right arm of a male octopus is more than an arm. It\u2019s his reproductive organ."},"default_profile_image":false,"statuses_count":5776,"profile_use_background_image":false,"verified":false,"favourites_count":0,"friends_count":3,"profile_background_color":"00c4ff","is_translator":false,"profile_background_image_url":"http:\/\/a1.twimg.com\/profile_background_images\/64177585\/new.png","created_at":"Mon Sep 28 01:28:23 +0000 2009","followers_count":2401784,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/64177585\/new.png","id":77888423,"profile_text_color":"332d2d","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/745816919\/omgfacts_normal.jpg","profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/745816919\/omgfacts_normal.jpg"},{"profile_sidebar_fill_color":"C0DFEC","protected":false,"id_str":"112508240","notifications":null,"profile_background_tile":false,"screen_name":"CraigyFerg","name":"Craig Ferguson","listed_count":20921,"location":"Los Angeles, CA","show_all_inline_media":false,"contributors_enabled":false,"following":null,"geo_enabled":true,"utc_offset":-28800,"profile_link_color":"0084B4","description":"TV's Craig Ferguson","profile_sidebar_border_color":"a8c7f7","url":"http:\/\/www.cbs.com\/late_night\/late_late_show\/","time_zone":"Pacific Time (US & Canada)","status":{"id_str":"110069065715953664","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/twitter.com\/#!\/download\/iphone\" rel=\"nofollow\"\u003ETwitter for iPhone\u003C\/a\u003E","created_at":"Sat Sep 03 19:18:04 +0000 2011","contributors":null,"retweeted":false,"retweet_count":58,"id":110069065715953664,"place":null,"text":"\"Now I shall hunt the greatest game of all- man\" #overusedmovielines #carefulicarus #LeTitsNow #overusedhashtags"},"default_profile_image":false,"default_profile":false,"statuses_count":737,"profile_use_background_image":true,"verified":true,"favourites_count":40,"friends_count":75,"profile_background_color":"022330","is_translator":false,"profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","created_at":"Mon Feb 08 19:14:33 +0000 2010","followers_count":865934,"follow_request_sent":null,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","id":112508240,"profile_text_color":"5e6965","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1458496573\/image_normal.jpg","profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/1458496573\/image_normal.jpg"},{"profile_sidebar_fill_color":"252429","protected":false,"id_str":"25521487","notifications":false,"profile_background_tile":true,"screen_name":"danieltosh","name":"daniel tosh","listed_count":25436,"location":"beach","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-28800,"profile_link_color":"2FC2EF","description":"not a doctor","profile_sidebar_border_color":"181A1E","url":"http:\/\/www.danieltosh.com\/","default_profile":false,"time_zone":"Pacific Time (US & Canada)","status":{"id_str":"110150928451108866","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"web","created_at":"Sun Sep 04 00:43:22 +0000 2011","contributors":null,"retweeted":false,"retweet_count":"100+","id":110150928451108866,"place":null,"text":"the difference between lane kiffin and myself... is that i pretend to be an asshole."},"default_profile_image":false,"statuses_count":3757,"profile_use_background_image":true,"verified":true,"favourites_count":5,"friends_count":66,"profile_background_color":"1A1B1F","is_translator":false,"profile_background_image_url":"http:\/\/a1.twimg.com\/profile_background_images\/12054191\/toshbck.jpg","created_at":"Fri Mar 20 15:32:52 +0000 2009","followers_count":3303990,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/12054191\/toshbck.jpg","id":25521487,"profile_text_color":"666666","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/218283715\/Daniel-Tosh---Shot_2-12976_normal.gif","profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/218283715\/Daniel-Tosh---Shot_2-12976_normal.gif"},{"profile_sidebar_fill_color":"F2F5F8","protected":false,"id_str":"14094741","notifications":false,"profile_background_tile":false,"screen_name":"someecards","name":"someecards","listed_count":9095,"location":"New York, NY","show_all_inline_media":false,"contributors_enabled":true,"following":false,"geo_enabled":false,"utc_offset":-18000,"profile_link_color":"966119","description":"Welcome to the Twitter feed of somewhat acclaimed humor site, someecards.com. You\u2019ll love not unfollowing us!","profile_sidebar_border_color":"FFFFFF","url":"http:\/\/someecards.com","time_zone":"Eastern Time (US & Canada)","status":{"id_str":"110041355752980481","in_reply_to_status_id":null,"truncated":false,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/twitter.com\/tweetbutton\" rel=\"nofollow\"\u003ETweet Button\u003C\/a\u003E","created_at":"Sat Sep 03 17:27:58 +0000 2011","contributors":null,"retweeted":false,"retweet_count":36,"id":110041355752980481,"place":null,"text":"Vintage TV ads sell coffee through the use of mind-blowing sexism. http:\/\/t.co\/7jqEGFo"},"default_profile_image":false,"statuses_count":5436,"profile_use_background_image":true,"verified":true,"favourites_count":3,"friends_count":355,"profile_background_color":"DADAD8","is_translator":false,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/198266956\/twitter_background_final2b.png","created_at":"Fri Mar 07 12:49:08 +0000 2008","followers_count":1678880,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/198266956\/twitter_background_final2b.png","id":14094741,"default_profile":false,"profile_text_color":"666666","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/82073632\/thumbs_up_normal.jpg","profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/82073632\/thumbs_up_normal.jpg"},{"profile_sidebar_fill_color":"5f7cd3","protected":false,"id_str":"6539592","notifications":false,"profile_background_tile":false,"screen_name":"JimGaffigan","name":"Jim Gaffigan","listed_count":16522,"location":"NYC - On tour this summer","show_all_inline_media":true,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-18000,"profile_link_color":"b4c2ee","description":"Husband to hot wife, father of 4, comedian, actor, writer, former sleeper http:\/\/favstar.fm\/users\/JimGaffigan\r\nItunes = http:\/\/tinyurl.com\/65z4dfy","profile_sidebar_border_color":"FFFFFF","url":"http:\/\/jimgaffigan.com\/appearances.shtml","time_zone":"Eastern Time (US & Canada)","status":{"id_str":"110147040029319168","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/www.whosay.com\" rel=\"nofollow\"\u003EWhoSay\u003C\/a\u003E","created_at":"Sun Sep 04 00:27:55 +0000 2011","contributors":null,"retweeted":false,"retweet_count":"100+","id":110147040029319168,"place":null,"text":"The only time someone should drink a shot is never."},"default_profile_image":false,"statuses_count":1821,"profile_use_background_image":true,"verified":true,"favourites_count":73,"friends_count":459,"profile_background_color":"6699CC","is_translator":false,"profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/162969523\/JG-Twitter.jpg","created_at":"Sun Jun 03 11:09:19 +0000 2007","followers_count":702293,"default_profile":false,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/162969523\/JG-Twitter.jpg","id":6539592,"profile_text_color":"000000","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1413598901\/IMG_0595b_normal.jpg","profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1413598901\/IMG_0595b_normal.jpg"},{"profile_sidebar_fill_color":"efefef","protected":false,"id_str":"18713254","default_profile":false,"notifications":false,"profile_background_tile":true,"screen_name":"simonpegg","name":"Simon Pegg","listed_count":28045,"location":"London, UK","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":0,"profile_link_color":"009999","description":"Actor\/writer\/dog owner\/winner of 50m flat race 1977-1981","profile_sidebar_border_color":"eeeeee","url":"http:\/\/twitter.com\/simonpegg","time_zone":"London","status":{"id_str":"109963862522068993","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/www.tweetdeck.com\" rel=\"nofollow\"\u003ETweetDeck\u003C\/a\u003E","created_at":"Sat Sep 03 12:20:02 +0000 2011","contributors":null,"retweeted":false,"retweet_count":"100+","id":109963862522068993,"place":null,"text":"It's a shame Darth Vader didn't say \"NO\" to slaughtering all them little kids. He's alright though because he threw an old man down the bog."},"default_profile_image":false,"statuses_count":6523,"profile_use_background_image":true,"verified":true,"favourites_count":8,"friends_count":355,"profile_background_color":"131516","is_translator":false,"profile_background_image_url":"http:\/\/a1.twimg.com\/profile_background_images\/265410194\/image003.jpg","created_at":"Wed Jan 07 06:19:34 +0000 2009","followers_count":1450438,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/265410194\/image003.jpg","id":18713254,"profile_text_color":"333333","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1334758081\/Rolling_Stone_08.02.11_0057_normal.jpg","profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1334758081\/Rolling_Stone_08.02.11_0057_normal.jpg"},{"profile_sidebar_fill_color":"7f7fa4","protected":false,"id_str":"19768193","notifications":false,"profile_background_tile":true,"screen_name":"mshowalter","name":"Michael Showalter","listed_count":3893,"location":"Brooklyn, NYC","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-18000,"profile_link_color":"161314","description":"Author of Mr.Funny Pants available at a bookstore near you! Or online now at www.amazon.com","default_profile":false,"profile_sidebar_border_color":"1c1d1b","url":"http:\/\/www.michaelshowalter.net","time_zone":"Eastern Time (US & Canada)","status":{"retweeted_status":{"id_str":"109341511937826816","in_reply_to_status_id":null,"truncated":false,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/www.tweetdeck.com\" rel=\"nofollow\"\u003ETweetDeck\u003C\/a\u003E","created_at":"Thu Sep 01 19:07:02 +0000 2011","contributors":null,"retweeted":false,"retweet_count":1,"id":109341511937826816,"place":null,"text":"Get ready to get \"Schooled!\" Comedian Michael Showalter could be quizzing your college soon! #NESN @mshowalter http:\/\/t.co\/4KGwNuw"},"id_str":"110070961021272064","in_reply_to_status_id":null,"truncated":true,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"web","created_at":"Sat Sep 03 19:25:36 +0000 2011","contributors":null,"retweeted":false,"retweet_count":1,"id":110070961021272064,"place":null,"text":"RT @KepplerOnCampus: Get ready to get \"Schooled!\" Comedian Michael Showalter could be quizzing your college soon! #NESN @mshowalter http ..."},"default_profile_image":false,"statuses_count":1769,"profile_use_background_image":true,"verified":true,"favourites_count":2,"friends_count":208,"profile_background_color":"412725","is_translator":false,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/226724530\/shwltrctpwr_001grain_copy.jpg","created_at":"Fri Jan 30 14:05:18 +0000 2009","followers_count":140113,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/226724530\/shwltrctpwr_001grain_copy.jpg","id":19768193,"profile_text_color":"1b171c","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1365888173\/photo4_normal.jpg","profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/1365888173\/photo4_normal.jpg"},{"profile_sidebar_fill_color":"DDEEF6","protected":false,"id_str":"28744383","notifications":false,"profile_background_tile":false,"screen_name":"JudahWorldChamp","name":"Judah Friedlander","listed_count":3834,"location":"NYC","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-18000,"profile_link_color":"0084B4","description":"I am The World Champion, and that means this is Judah Friedlander's Official Twitter page.","default_profile":true,"profile_sidebar_border_color":"C0DEED","url":"http:\/\/www.worldchampionoftheworld.com","time_zone":"Eastern Time (US & Canada)","status":{"id_str":"110100914412593152","in_reply_to_status_id":110081188663791616,"truncated":false,"favorited":false,"in_reply_to_status_id_str":"110081188663791616","geo":null,"in_reply_to_screen_name":"justincousson","in_reply_to_user_id_str":"233841077","coordinates":null,"in_reply_to_user_id":233841077,"source":"web","created_at":"Sat Sep 03 21:24:38 +0000 2011","contributors":null,"retweeted":false,"retweet_count":0,"id":110100914412593152,"place":null,"text":"@justincousson i bought 3 hotels and stacked them on yop of each other too."},"default_profile_image":false,"statuses_count":3033,"profile_use_background_image":true,"verified":false,"favourites_count":5,"friends_count":1815,"profile_background_color":"C0DEED","is_translator":false,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/298340095\/twitterBkgdBlank.jpg","created_at":"Sat Apr 04 05:04:37 +0000 2009","followers_count":209276,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/298340095\/twitterBkgdBlank.jpg","id":28744383,"profile_text_color":"333333","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1124117561\/14_lores_normal.jpg","profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1124117561\/14_lores_normal.jpg"},{"profile_sidebar_fill_color":"252429","protected":false,"id_str":"52551600","notifications":false,"profile_background_tile":false,"screen_name":"JimCarrey","name":"Jim Carrey","listed_count":46631,"location":"Los Angeles","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-28800,"profile_link_color":"2FC2EF","description":"Actor Jim Carrey!","profile_sidebar_border_color":"181A1E","url":"http:\/\/www.jimcarrey.com","time_zone":"Pacific Time (US & Canada)","status":{"id_str":"110016446918180864","in_reply_to_status_id":110013593470238720,"truncated":false,"favorited":false,"in_reply_to_status_id_str":"110013593470238720","geo":null,"in_reply_to_screen_name":"Madison_Paije_x","in_reply_to_user_id_str":"363279932","coordinates":null,"in_reply_to_user_id":363279932,"source":"\u003Ca href=\"http:\/\/twitter.com\/#!\/download\/iphone\" rel=\"nofollow\"\u003ETwitter for iPhone\u003C\/a\u003E","created_at":"Sat Sep 03 15:48:59 +0000 2011","contributors":null,"retweeted":false,"retweet_count":1,"id":110016446918180864,"place":null,"text":"@Madison_Paije_x ?;^)"},"default_profile_image":false,"statuses_count":2730,"profile_use_background_image":true,"verified":true,"favourites_count":1,"friends_count":1,"profile_background_color":"212021","is_translator":false,"default_profile":false,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/90355341\/twee2.jpg","created_at":"Tue Jun 30 22:58:44 +0000 2009","followers_count":4085471,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/90355341\/twee2.jpg","id":52551600,"profile_text_color":"666666","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1519240120\/image_normal.jpg","profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/1519240120\/image_normal.jpg"},{"profile_sidebar_fill_color":"efefef","protected":false,"id_str":"21148293","notifications":null,"profile_background_tile":false,"screen_name":"kathygriffin","name":"Kathy Griffin","listed_count":16469,"location":"Los Angeles, CA","show_all_inline_media":false,"contributors_enabled":false,"following":null,"geo_enabled":false,"utc_offset":-32400,"profile_link_color":"009999","description":"2-time Emmy award winning comedian & star of Bravo's My Life on the D-List.","profile_sidebar_border_color":"eeeeee","url":"http:\/\/www.kathygriffin.net","time_zone":"Alaska","status":{"id_str":"110127520191492096","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/www.echofon.com\/\" rel=\"nofollow\"\u003EEchofon\u003C\/a\u003E","created_at":"Sat Sep 03 23:10:21 +0000 2011","contributors":null,"retweeted":false,"retweet_count":27,"id":110127520191492096,"place":null,"text":"Im on it! Cut the shit, it's not exactly the Mark Twain award! RT @kaven23: shud make fun of bieber thanking god & jesus."},"default_profile_image":false,"statuses_count":2189,"profile_use_background_image":true,"default_profile":false,"verified":true,"favourites_count":3,"friends_count":0,"profile_background_color":"131516","is_translator":false,"profile_background_image_url":"http:\/\/a1.twimg.com\/profile_background_images\/322147054\/Kathy_Twitter_EMMYS_noT_518.jpg","created_at":"Tue Feb 17 23:54:04 +0000 2009","followers_count":1048555,"follow_request_sent":null,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/322147054\/Kathy_Twitter_EMMYS_noT_518.jpg","id":21148293,"profile_text_color":"333333","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1477819493\/1_MG_9929B_normal.jpg","profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/1477819493\/1_MG_9929B_normal.jpg"},{"profile_sidebar_fill_color":"e0ff92","protected":false,"id_str":"6480682","default_profile":false,"notifications":false,"profile_background_tile":true,"screen_name":"azizansari","name":"Aziz Ansari","listed_count":19218,"location":"Los Angeles, CA","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-18000,"profile_link_color":"0000ff","description":"I'm an actor\/comedian. I play Tom on Parks and Recreation on NBC. I also like food a lot. ","profile_sidebar_border_color":"87bc44","url":"http:\/\/azizisbored.com","time_zone":"Eastern Time (US & Canada)","status":{"id_str":"110117319103098880","in_reply_to_status_id":109030258782650368,"truncated":false,"favorited":false,"in_reply_to_status_id_str":"109030258782650368","geo":null,"in_reply_to_screen_name":"N666ZY","in_reply_to_user_id_str":"24757911","coordinates":null,"in_reply_to_user_id":24757911,"source":"web","created_at":"Sat Sep 03 22:29:49 +0000 2011","contributors":null,"retweeted":false,"retweet_count":0,"id":110117319103098880,"place":null,"text":"@N666ZY Dude you aint tell me you had Smashburger yet??! Thoughts?"},"default_profile_image":false,"statuses_count":3565,"profile_use_background_image":true,"verified":true,"favourites_count":379,"friends_count":241,"profile_background_color":"053285","is_translator":false,"profile_background_image_url":"http:\/\/a1.twimg.com\/profile_background_images\/5581304\/azizlittle2.jpg","created_at":"Thu May 31 19:06:49 +0000 2007","followers_count":1215395,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/5581304\/azizlittle2.jpg","id":6480682,"profile_text_color":"000000","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/421377161\/azizlittletwitter_normal.jpg","profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/421377161\/azizlittletwitter_normal.jpg"},{"profile_sidebar_fill_color":"FFF7CC","protected":false,"id_str":"14075928","notifications":false,"profile_background_tile":false,"screen_name":"TheOnion","name":"The Onion","listed_count":52135,"location":"New York, NY","show_all_inline_media":true,"contributors_enabled":true,"following":false,"geo_enabled":false,"utc_offset":-18000,"profile_link_color":"FF0000","description":"America's Finest News Source. Follow Onion News Network television show (@ONN) with Season 2 coming to @IFCtv this fall. Also http:\/\/facebook.com\/theonion","profile_sidebar_border_color":"F2E195","url":"http:\/\/www.theonion.com","time_zone":"Eastern Time (US & Canada)","status":{"id_str":"110166347119460352","in_reply_to_status_id":null,"truncated":false,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"web","created_at":"Sun Sep 04 01:44:38 +0000 2011","contributors":null,"retweeted":false,"retweet_count":35,"id":110166347119460352,"place":null,"text":"A Tea party congressman sees only one solution to raging wildfire in his district: massive tax cuts. http:\/\/t.co\/bWytBlo #OnionReview"},"default_profile_image":false,"statuses_count":9395,"profile_use_background_image":true,"default_profile":false,"verified":true,"favourites_count":33,"friends_count":13,"profile_background_color":"ffffff","is_translator":false,"profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/183829455\/onion_twitter.png","created_at":"Tue Mar 04 02:48:37 +0000 2008","followers_count":3065044,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/183829455\/onion_twitter.png","id":14075928,"profile_text_color":"0C3E53","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/334357688\/onion_logo_03_L_normal.png","profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/334357688\/onion_logo_03_L_normal.png"},{"profile_sidebar_fill_color":"252429","protected":false,"id_str":"15693493","notifications":false,"profile_background_tile":false,"screen_name":"funnyordie","name":"Funny Or Die","listed_count":20413,"location":"Hollywood, Ca","show_all_inline_media":false,"contributors_enabled":true,"following":false,"geo_enabled":true,"utc_offset":-28800,"profile_link_color":"2FC2EF","description":"We make funny videos with famous people. Will Ferrell is our boss. We like to laugh and watch kittens do adorable people things.","default_profile":false,"profile_sidebar_border_color":"181A1E","url":"http:\/\/funnyordie.com","time_zone":"Pacific Time (US & Canada)","status":{"id_str":"110140144501268480","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/twitter.com\/#!\/download\/iphone\" rel=\"nofollow\"\u003ETwitter for iPhone\u003C\/a\u003E","created_at":"Sun Sep 04 00:00:31 +0000 2011","contributors":null,"retweeted":false,"retweet_count":34,"id":110140144501268480,"place":null,"text":"Just a heads up: security appears to be confiscating shirts at the entrance from anyone with a dumb tattoo. #FYFFEST"},"default_profile_image":false,"statuses_count":5302,"profile_use_background_image":true,"verified":true,"favourites_count":31,"friends_count":3239,"profile_background_color":"0d0d0d","is_translator":false,"profile_background_image_url":"http:\/\/a1.twimg.com\/profile_background_images\/299282155\/FINAL.jpg","created_at":"Fri Aug 01 19:42:20 +0000 2008","followers_count":2383334,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/299282155\/FINAL.jpg","id":15693493,"profile_text_color":"666666","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1296763613\/twitter-avatar-1_normal.jpg","profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1296763613\/twitter-avatar-1_normal.jpg"},{"profile_sidebar_fill_color":"DDFFCC","protected":false,"id_str":"18548221","notifications":false,"profile_background_tile":false,"screen_name":"DougBenson","name":"Doug Benson","listed_count":7061,"location":"Los Angeles","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-28800,"profile_link_color":"0084B4","description":"If you can't stand the tweet, unfollow the kitchen. New album, POTTY MOUTH, 8\/30!\r\n Tour dates at http:\/\/www.douglovesmovies.com ","profile_sidebar_border_color":"BDDCAD","url":null,"default_profile":false,"time_zone":"Pacific Time (US & Canada)","status":{"retweeted_status":{"id_str":"110131497054380032","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/cotweet.com\/?utm_source=sp1\" rel=\"nofollow\"\u003ECoTweet\u003C\/a\u003E","created_at":"Sat Sep 03 23:26:09 +0000 2011","contributors":null,"retweeted":false,"retweet_count":8,"id":110131497054380032,"place":null,"text":"There's still about 150 comedy passes left for Bagley and Intiman, so grab them while you can. Remember there's always standby room too!"},"id_str":"110131554474401792","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"web","created_at":"Sat Sep 03 23:26:23 +0000 2011","contributors":null,"retweeted":false,"retweet_count":8,"id":110131554474401792,"place":null,"text":"RT @Bumbershoot: There's still about 150 comedy passes left for Bagley and Intiman, so grab them while you can. Remember there's always ..."},"default_profile_image":false,"statuses_count":9155,"profile_use_background_image":true,"verified":true,"favourites_count":320,"friends_count":420,"profile_background_color":"9AE4E8","is_translator":false,"profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/174573121\/benson2-1.jpg","created_at":"Fri Jan 02 07:39:59 +0000 2009","followers_count":281504,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/174573121\/benson2-1.jpg","id":18548221,"profile_text_color":"333333","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1427931914\/CD3_Benson_Cover_normal.jpg","profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/1427931914\/CD3_Benson_Cover_normal.jpg"},{"profile_sidebar_fill_color":"ffe5a8","protected":false,"id_str":"809760","notifications":false,"profile_background_tile":true,"screen_name":"badbanana","name":"Tim Siedell","listed_count":11740,"location":"Nebraska, USA","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-21600,"profile_link_color":"cf6519","description":"Sometimes I just want to give it all up and become a handsome billionaire.","profile_sidebar_border_color":"eeeeee","url":"http:\/\/about.me\/timsiedell","time_zone":"Central Time (US & Canada)","status":{"id_str":"110152580524552192","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/twitter.com\/#!\/download\/ipad\" rel=\"nofollow\"\u003ETwitter for iPad\u003C\/a\u003E","created_at":"Sun Sep 04 00:49:56 +0000 2011","contributors":null,"retweeted":false,"retweet_count":"100+","id":110152580524552192,"place":null,"text":"Hey, GEICO commercials. We know."},"default_profile_image":false,"statuses_count":13846,"profile_use_background_image":true,"verified":true,"favourites_count":1498,"friends_count":274,"profile_background_color":"484c54","is_translator":false,"profile_background_image_url":"http:\/\/a3.twimg.com\/profile_background_images\/37772539\/Pinstripe2.png","created_at":"Sun Mar 04 05:57:43 +0000 2007","followers_count":522107,"default_profile":false,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/37772539\/Pinstripe2.png","id":809760,"profile_text_color":"6e6e6e","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/795687519\/Bad_Banana_normal.jpg","profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/795687519\/Bad_Banana_normal.jpg"},{"profile_sidebar_fill_color":"e0ff92","protected":false,"id_str":"6173842","notifications":false,"profile_background_tile":false,"screen_name":"ICHCheezburger","name":"ICanHasCheezburger?","listed_count":6567,"location":"Seattle, WA","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-28800,"profile_link_color":"0000ff","description":"I can has funny pictures of cats, plz?","default_profile":false,"profile_sidebar_border_color":"87bc44","url":"http:\/\/icanhascheezburger.com","time_zone":"Pacific Time (US & Canada)","status":{"id_str":"110147753581096960","in_reply_to_status_id":null,"truncated":false,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/www.hootsuite.com\" rel=\"nofollow\"\u003EHootSuite\u003C\/a\u003E","created_at":"Sun Sep 04 00:30:45 +0000 2011","contributors":null,"retweeted":false,"retweet_count":2,"id":110147753581096960,"place":null,"text":"Dryer Cat Approves! - funny pictures - Dryer Cat Approves!LoL by: PrincessWordplay http:\/\/t.co\/oprEt4y"},"default_profile_image":false,"statuses_count":11545,"profile_use_background_image":true,"verified":false,"favourites_count":4,"friends_count":3124,"profile_background_color":"9ae4e8","is_translator":false,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/30261844\/ICHCTwitterBG.jpg","created_at":"Sun May 20 08:02:15 +0000 2007","followers_count":1573827,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/30261844\/ICHCTwitterBG.jpg","id":6173842,"profile_text_color":"000000","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1213876440\/27539_32561485399_2579_n_normal.jpeg","profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/1213876440\/27539_32561485399_2579_n_normal.jpeg"},{"profile_sidebar_fill_color":"DDFFCC","protected":false,"id_str":"22461427","notifications":false,"profile_background_tile":true,"screen_name":"alyankovic","name":"Al Yankovic","listed_count":27657,"location":"Los Angeles","show_all_inline_media":true,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-28800,"profile_link_color":"0084B4","description":"You know... the Eat It guy.","profile_sidebar_border_color":"BDDCAD","url":"http:\/\/www.weirdal.com","time_zone":"Pacific Time (US & Canada)","status":{"id_str":"110056533651496960","in_reply_to_status_id":null,"truncated":false,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/twitpic.com\" rel=\"nofollow\"\u003ETwitpic\u003C\/a\u003E","created_at":"Sat Sep 03 18:28:17 +0000 2011","contributors":null,"retweeted":false,"retweet_count":"100+","id":110056533651496960,"place":null,"text":"I know our economy is messed up, but I still think it\u2019s ridiculous to charge almost 200 bucks for a side of soup. http:\/\/t.co\/LwAeytG"},"default_profile_image":false,"statuses_count":1377,"profile_use_background_image":true,"default_profile":false,"verified":true,"favourites_count":277,"friends_count":210,"profile_background_color":"9AE4E8","is_translator":false,"profile_background_image_url":"http:\/\/a1.twimg.com\/profile_background_images\/5009241\/906623544_l.jpg","created_at":"Mon Mar 02 07:00:29 +0000 2009","followers_count":2135730,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/5009241\/906623544_l.jpg","id":22461427,"profile_text_color":"333333","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/246073324\/IL2_normal.jpg","profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/246073324\/IL2_normal.jpg"},{"profile_sidebar_fill_color":"17161A","protected":false,"id_str":"19637934","notifications":false,"profile_background_tile":true,"screen_name":"rainnwilson","name":"RainnWilson","listed_count":32753,"location":"Los Angeles-ish","show_all_inline_media":false,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-21600,"profile_link_color":"9FA1A3","description":"I am an actor and a writer and I co-created SoulPancake and my son, Walter.","profile_sidebar_border_color":"22262B","url":"http:\/\/www.facebook.com\/rainnwilson","time_zone":"Saskatchewan","status":{"id_str":"110152541580427264","in_reply_to_status_id":null,"truncated":false,"favorited":false,"in_reply_to_status_id_str":null,"geo":null,"in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"coordinates":null,"in_reply_to_user_id":null,"source":"\u003Ca href=\"http:\/\/twitter.com\/devices\" rel=\"nofollow\"\u003Etxt\u003C\/a\u003E","created_at":"Sun Sep 04 00:49:47 +0000 2011","contributors":null,"retweeted":false,"retweet_count":"100+","id":110152541580427264,"place":null,"text":"Obama is capitulating so much that he has decided to vote for Rick Perry."},"default_profile_image":false,"statuses_count":6163,"profile_use_background_image":true,"verified":true,"favourites_count":1480,"friends_count":244,"profile_background_color":"ffffff","is_translator":false,"profile_background_image_url":"http:\/\/a3.twimg.com\/profile_background_images\/212017033\/rainn.jpg","created_at":"Wed Jan 28 05:28:45 +0000 2009","followers_count":2526376,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/212017033\/rainn.jpg","id":19637934,"default_profile":false,"profile_text_color":"585F65","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1431046561\/rainnwilsonT6I7409_normal.jpg","profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/1431046561\/rainnwilsonT6I7409_normal.jpg"},{"profile_sidebar_fill_color":"ffffff","protected":false,"id_str":"16302651","notifications":false,"profile_background_tile":true,"screen_name":"EugeneMirman","name":"Eugene Mirman","listed_count":3205,"location":"Brooklyn, NY","show_all_inline_media":true,"contributors_enabled":false,"following":false,"geo_enabled":false,"utc_offset":-18000,"profile_link_color":"b83c0a","description":"I am television's Eugene Mirman. I am very nice and like seafood.","profile_sidebar_border_color":"fff9f5","url":"http:\/\/www.eugenemirman.com","time_zone":"Eastern Time (US & Canada)","status":{"id_str":"110106576421007360","in_reply_to_status_id":110068002430517249,"truncated":false,"favorited":false,"in_reply_to_status_id_str":"110068002430517249","geo":null,"in_reply_to_screen_name":"godzillaeyes","in_reply_to_user_id_str":"14122597","coordinates":null,"in_reply_to_user_id":14122597,"source":"web","created_at":"Sat Sep 03 21:47:08 +0000 2011","contributors":null,"retweeted":false,"retweet_count":1,"id":110106576421007360,"place":null,"text":"@godzillaeyes It's not creepy, but you will just end up seeing mostly the same set three times probably."},"default_profile_image":false,"statuses_count":2723,"profile_use_background_image":true,"verified":true,"favourites_count":0,"friends_count":256,"profile_background_color":"fbf7e9","is_translator":false,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/3286688\/twitter_bg.jpg","created_at":"Mon Sep 15 21:51:02 +0000 2008","followers_count":140087,"follow_request_sent":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/3286688\/twitter_bg.jpg","id":16302651,"default_profile":false,"profile_text_color":"a24616","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/61007765\/237905348-Ti_normal.jpg","profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/61007765\/237905348-Ti_normal.jpg"},{"profile_sidebar_fill_color":"252429","protected":false,"id_str":"6480652","notifications":null,"profile_background_tile":false,"screen_name":"paulscheer","name":"Paul Scheer","listed_count":5073,"location":"Los Angeles, CA","show_all_inline_media":false,"contributors_enabled":false,"following":null,"geo_enabled":false,"utc_offset":-28800,"profile_link_color":"2FC2EF","description":"Paul Scheer uses furniture but doesn't trust it.","profile_sidebar_border_color":"181A1E","url":"http:\/\/www.paulscheer.com","time_zone":"Pacific Time (US & Canada)","status":{"id_str":"109892539112374272","in_reply_to_status_id":109796913129336832,"truncated":false,"favorited":false,"in_reply_to_status_id_str":"109796913129336832","geo":null,"in_reply_to_screen_name":"danieljpowell","in_reply_to_user_id_str":"25741706","coordinates":null,"in_reply_to_user_id":25741706,"source":"web","created_at":"Sat Sep 03 07:36:37 +0000 2011","contributors":null,"retweeted":false,"retweet_count":0,"id":109892539112374272,"place":null,"text":"@danieljpowell good point"},"default_profile_image":false,"default_profile":false,"statuses_count":1823,"profile_use_background_image":true,"verified":true,"favourites_count":44,"friends_count":453,"profile_background_color":"e7d352","is_translator":false,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/292867502\/NTSF-webskin.jpg","created_at":"Thu May 31 19:05:17 +0000 2007","followers_count":216099,"follow_request_sent":null,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/292867502\/NTSF-webskin.jpg","id":6480652,"profile_text_color":"666666","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1156102294\/5096530605_7b05eb0348_o_normal.jpg","profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/1156102294\/5096530605_7b05eb0348_o_normal.jpg"}] \ No newline at end of file diff --git a/spec/fixtures/members.xml b/spec/fixtures/members.xml new file mode 100644 index 000000000..97f2f31ac --- /dev/null +++ b/spec/fixtures/members.xml @@ -0,0 +1,1165 @@ + + + + 77888423 + OMGFacts + OMGFacts + Northern California + The #1 fact source on Twitter, posting since Sept 27, 2009. + + http://a3.twimg.com/profile_images/745816919/omgfacts_normal.jpg + https://si0.twimg.com/profile_images/745816919/omgfacts_normal.jpg + + false + 2401909 + 00c4ff + 332d2d + 006da8 + f2f2f2 + ffffff + 3 + Mon Sep 28 01:28:23 +0000 2009 + 0 + -28800 + Pacific Time (US & Canada) + http://a1.twimg.com/profile_background_images/64177585/new.png + https://si0.twimg.com/profile_background_images/64177585/new.png + false + false + + false + false + + 5776 + en + false + + 27367 + false + false + false + false + + Sat Sep 03 16:49:13 +0000 2011 + 110031604528844801 + The third right arm of a male octopus is more than an arm. It’s his reproductive organ. + <a href="http://timely.is" rel="nofollow">Timely App</a> + false + false + + + + 100+ + false + + + + + + + + 112508240 + Craig Ferguson + CraigyFerg + Los Angeles, CA + TV's Craig Ferguson + http://a2.twimg.com/profile_images/1458496573/image_normal.jpg + https://si0.twimg.com/profile_images/1458496573/image_normal.jpg + http://www.cbs.com/late_night/late_late_show/ + false + 865972 + 022330 + 5e6965 + 0084B4 + C0DFEC + a8c7f7 + 75 + Mon Feb 08 19:14:33 +0000 2010 + 40 + -28800 + Pacific Time (US & Canada) + http://a0.twimg.com/images/themes/theme1/bg.png + https://si0.twimg.com/images/themes/theme1/bg.png + false + true + + true + true + + 737 + en + false + + 20923 + false + false + false + false + + Sat Sep 03 19:18:04 +0000 2011 + 110069065715953664 + "Now I shall hunt the greatest game of all- man" #overusedmovielines #carefulicarus #LeTitsNow #overusedhashtags + <a href="http://twitter.com/#!/download/iphone" rel="nofollow">Twitter for iPhone</a> + false + false + + + + 58 + false + + + + + + + + 25521487 + daniel tosh + danieltosh + beach + not a doctor + http://a0.twimg.com/profile_images/218283715/Daniel-Tosh---Shot_2-12976_normal.gif + https://si0.twimg.com/profile_images/218283715/Daniel-Tosh---Shot_2-12976_normal.gif + http://www.danieltosh.com/ + false + 3304256 + 1A1B1F + 666666 + 2FC2EF + 252429 + 181A1E + 66 + Fri Mar 20 15:32:52 +0000 2009 + 5 + -28800 + Pacific Time (US & Canada) + http://a1.twimg.com/profile_background_images/12054191/toshbck.jpg + https://si0.twimg.com/profile_background_images/12054191/toshbck.jpg + true + true + + false + true + + 3757 + en + false + + 25438 + false + false + false + false + + Sun Sep 04 00:43:22 +0000 2011 + 110150928451108866 + the difference between lane kiffin and myself... is that i pretend to be an asshole. + web + false + false + + + + 100+ + false + + + + + + + + 14094741 + someecards + someecards + New York, NY + Welcome to the Twitter feed of somewhat acclaimed humor site, someecards.com. You’ll love not unfollowing us! + http://a2.twimg.com/profile_images/82073632/thumbs_up_normal.jpg + https://si0.twimg.com/profile_images/82073632/thumbs_up_normal.jpg + http://someecards.com + false + 1678880 + DADAD8 + 666666 + 966119 + F2F5F8 + FFFFFF + 355 + Fri Mar 07 12:49:08 +0000 2008 + 3 + -18000 + Eastern Time (US & Canada) + http://a2.twimg.com/profile_background_images/198266956/twitter_background_final2b.png + https://si0.twimg.com/profile_background_images/198266956/twitter_background_final2b.png + false + true + + false + true + + 5436 + en + true + + 9095 + false + false + false + false + + Sat Sep 03 17:27:58 +0000 2011 + 110041355752980481 + Vintage TV ads sell coffee through the use of mind-blowing sexism. http://t.co/7jqEGFo + <a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a> + false + false + + + + 36 + false + + + + false + + + + + 6539592 + Jim Gaffigan + JimGaffigan + NYC - On tour this summer + Husband to hot wife, father of 4, comedian, actor, writer, former sleeper http://favstar.fm/users/JimGaffigan +Itunes = http://tinyurl.com/65z4dfy + http://a0.twimg.com/profile_images/1413598901/IMG_0595b_normal.jpg + https://si0.twimg.com/profile_images/1413598901/IMG_0595b_normal.jpg + http://jimgaffigan.com/appearances.shtml + false + 702339 + 6699CC + 000000 + b4c2ee + 5f7cd3 + FFFFFF + 459 + Sun Jun 03 11:09:19 +0000 2007 + 73 + -18000 + Eastern Time (US & Canada) + http://a0.twimg.com/profile_background_images/162969523/JG-Twitter.jpg + https://si0.twimg.com/profile_background_images/162969523/JG-Twitter.jpg + false + true + + false + true + + 1821 + en + false + + 16522 + true + false + false + false + + Sun Sep 04 00:27:55 +0000 2011 + 110147040029319168 + The only time someone should drink a shot is never. + <a href="http://www.whosay.com" rel="nofollow">WhoSay</a> + false + false + + + + 100+ + false + + + + + + + + 18713254 + Simon Pegg + simonpegg + London, UK + Actor/writer/dog owner/winner of 50m flat race 1977-1981 + http://a0.twimg.com/profile_images/1334758081/Rolling_Stone_08.02.11_0057_normal.jpg + https://si0.twimg.com/profile_images/1334758081/Rolling_Stone_08.02.11_0057_normal.jpg + http://twitter.com/simonpegg + false + 1450451 + 131516 + 333333 + 009999 + efefef + eeeeee + 355 + Wed Jan 07 06:19:34 +0000 2009 + 8 + 0 + London + http://a1.twimg.com/profile_background_images/265410194/image003.jpg + https://si0.twimg.com/profile_background_images/265410194/image003.jpg + true + true + + false + true + + 6523 + en + false + + 28045 + false + false + false + false + + Sat Sep 03 12:20:02 +0000 2011 + 109963862522068993 + It's a shame Darth Vader didn't say "NO" to slaughtering all them little kids. He's alright though because he threw an old man down the bog. + <a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a> + false + false + + + + 100+ + false + + + + + + + + 19768193 + Michael Showalter + mshowalter + Brooklyn, NYC + Author of Mr.Funny Pants available at a bookstore near you! Or online now at www.amazon.com + http://a1.twimg.com/profile_images/1365888173/photo4_normal.jpg + https://si0.twimg.com/profile_images/1365888173/photo4_normal.jpg + http://www.michaelshowalter.net + false + 140112 + 412725 + 1b171c + 161314 + 7f7fa4 + 1c1d1b + 208 + Fri Jan 30 14:05:18 +0000 2009 + 2 + -18000 + Eastern Time (US & Canada) + http://a2.twimg.com/profile_background_images/226724530/shwltrctpwr_001grain_copy.jpg + https://si0.twimg.com/profile_background_images/226724530/shwltrctpwr_001grain_copy.jpg + true + true + + false + true + + 1769 + en + false + + 3893 + false + false + false + false + + Sat Sep 03 19:25:36 +0000 2011 + 110070961021272064 + RT @KepplerOnCampus: Get ready to get "Schooled!" Comedian Michael Showalter could be quizzing your college soon! #NESN @mshowalter http ... + web + true + false + + + + 1 + false + + Thu Sep 01 19:07:02 +0000 2011 + 109341511937826816 + Get ready to get "Schooled!" Comedian Michael Showalter could be quizzing your college soon! #NESN @mshowalter http://t.co/4KGwNuw + <a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a> + false + false + + + + 1 + false + + + + false + + + + + + + + + + 28744383 + Judah Friedlander + JudahWorldChamp + NYC + I am The World Champion, and that means this is Judah Friedlander's Official Twitter page. + http://a0.twimg.com/profile_images/1124117561/14_lores_normal.jpg + https://si0.twimg.com/profile_images/1124117561/14_lores_normal.jpg + http://www.worldchampionoftheworld.com + false + 209279 + C0DEED + 333333 + 0084B4 + DDEEF6 + C0DEED + 1815 + Sat Apr 04 05:04:37 +0000 2009 + 5 + -18000 + Eastern Time (US & Canada) + http://a2.twimg.com/profile_background_images/298340095/twitterBkgdBlank.jpg + https://si0.twimg.com/profile_background_images/298340095/twitterBkgdBlank.jpg + false + true + + false + false + + 3033 + en + false + + 3834 + false + true + false + false + + Sat Sep 03 21:24:38 +0000 2011 + 110100914412593152 + @justincousson i bought 3 hotels and stacked them on yop of each other too. + web + false + false + 110081188663791616 + 233841077 + justincousson + 0 + false + + + + + + + + 52551600 + Jim Carrey + JimCarrey + Los Angeles + Actor Jim Carrey! + http://a2.twimg.com/profile_images/1519240120/image_normal.jpg + https://si0.twimg.com/profile_images/1519240120/image_normal.jpg + http://www.jimcarrey.com + false + 4085716 + 212021 + 666666 + 2FC2EF + 252429 + 181A1E + 1 + Tue Jun 30 22:58:44 +0000 2009 + 1 + -28800 + Pacific Time (US & Canada) + http://a2.twimg.com/profile_background_images/90355341/twee2.jpg + https://si0.twimg.com/profile_background_images/90355341/twee2.jpg + false + true + + false + true + + 2730 + en + false + + 46631 + false + false + false + false + + Sat Sep 03 15:48:59 +0000 2011 + 110016446918180864 + @Madison_Paije_x ?;^) + <a href="http://twitter.com/#!/download/iphone" rel="nofollow">Twitter for iPhone</a> + false + false + 110013593470238720 + 363279932 + Madison_Paije_x + 1 + false + + + + + + + + 21148293 + Kathy Griffin + kathygriffin + Los Angeles, CA + 2-time Emmy award winning comedian & star of Bravo's My Life on the D-List. + http://a1.twimg.com/profile_images/1477819493/1_MG_9929B_normal.jpg + https://si0.twimg.com/profile_images/1477819493/1_MG_9929B_normal.jpg + http://www.kathygriffin.net + false + 1048571 + 131516 + 333333 + 009999 + efefef + eeeeee + 0 + Tue Feb 17 23:54:04 +0000 2009 + 3 + -32400 + Alaska + http://a1.twimg.com/profile_background_images/322147054/Kathy_Twitter_EMMYS_noT_518.jpg + https://si0.twimg.com/profile_background_images/322147054/Kathy_Twitter_EMMYS_noT_518.jpg + false + true + + false + true + + 2189 + en + false + + 16469 + false + false + false + false + + Sat Sep 03 23:10:21 +0000 2011 + 110127520191492096 + Im on it! Cut the shit, it's not exactly the Mark Twain award! RT @kaven23: shud make fun of bieber thanking god & jesus. + <a href="http://www.echofon.com/" rel="nofollow">Echofon</a> + false + false + + + + 27 + false + + + + + + + + 6480682 + Aziz Ansari + azizansari + Los Angeles, CA + I'm an actor/comedian. I play Tom on Parks and Recreation on NBC. I also like food a lot. + http://a2.twimg.com/profile_images/421377161/azizlittletwitter_normal.jpg + https://si0.twimg.com/profile_images/421377161/azizlittletwitter_normal.jpg + http://azizisbored.com + false + 1215400 + 053285 + 000000 + 0000ff + e0ff92 + 87bc44 + 241 + Thu May 31 19:06:49 +0000 2007 + 379 + -18000 + Eastern Time (US & Canada) + http://a1.twimg.com/profile_background_images/5581304/azizlittle2.jpg + https://si0.twimg.com/profile_background_images/5581304/azizlittle2.jpg + true + true + + false + true + + 3565 + en + false + + 19218 + false + false + false + false + + Sat Sep 03 22:29:49 +0000 2011 + 110117319103098880 + @N666ZY Dude you aint tell me you had Smashburger yet??! Thoughts? + web + false + false + 109030258782650368 + 24757911 + N666ZY + 0 + false + + + + + + + + 14075928 + The Onion + TheOnion + New York, NY + America's Finest News Source. Follow Onion News Network television show (@ONN) with Season 2 coming to @IFCtv this fall. Also http://facebook.com/theonion + http://a3.twimg.com/profile_images/334357688/onion_logo_03_L_normal.png + https://si0.twimg.com/profile_images/334357688/onion_logo_03_L_normal.png + http://www.theonion.com + false + 3065045 + ffffff + 0C3E53 + FF0000 + FFF7CC + F2E195 + 13 + Tue Mar 04 02:48:37 +0000 2008 + 33 + -18000 + Eastern Time (US & Canada) + http://a0.twimg.com/profile_background_images/183829455/onion_twitter.png + https://si0.twimg.com/profile_background_images/183829455/onion_twitter.png + false + true + + false + true + + 9395 + en + true + + 52135 + true + false + false + false + + Sun Sep 04 01:44:38 +0000 2011 + 110166347119460352 + A Tea party congressman sees only one solution to raging wildfire in his district: massive tax cuts. http://t.co/bWytBlo #OnionReview + web + false + false + + + + 53 + false + + + + false + + + + + 15693493 + Funny Or Die + funnyordie + Hollywood, Ca + We make funny videos with famous people. Will Ferrell is our boss. We like to laugh and watch kittens do adorable people things. + http://a0.twimg.com/profile_images/1296763613/twitter-avatar-1_normal.jpg + https://si0.twimg.com/profile_images/1296763613/twitter-avatar-1_normal.jpg + http://funnyordie.com + false + 2383396 + 0d0d0d + 666666 + 2FC2EF + 252429 + 181A1E + 3239 + Fri Aug 01 19:42:20 +0000 2008 + 31 + -28800 + Pacific Time (US & Canada) + http://a1.twimg.com/profile_background_images/299282155/FINAL.jpg + https://si0.twimg.com/profile_background_images/299282155/FINAL.jpg + false + true + + true + true + + 5302 + en + true + + 20414 + false + false + false + false + + Sun Sep 04 00:00:31 +0000 2011 + 110140144501268480 + Just a heads up: security appears to be confiscating shirts at the entrance from anyone with a dumb tattoo. #FYFFEST + <a href="http://twitter.com/#!/download/iphone" rel="nofollow">Twitter for iPhone</a> + false + false + + + + 37 + false + + + + + + + + 18548221 + Doug Benson + DougBenson + Los Angeles + If you can't stand the tweet, unfollow the kitchen. New album, POTTY MOUTH, 8/30! + Tour dates at http://www.douglovesmovies.com + http://a3.twimg.com/profile_images/1427931914/CD3_Benson_Cover_normal.jpg + https://si0.twimg.com/profile_images/1427931914/CD3_Benson_Cover_normal.jpg + + false + 281505 + 9AE4E8 + 333333 + 0084B4 + DDFFCC + BDDCAD + 420 + Fri Jan 02 07:39:59 +0000 2009 + 320 + -28800 + Pacific Time (US & Canada) + http://a0.twimg.com/profile_background_images/174573121/benson2-1.jpg + https://si0.twimg.com/profile_background_images/174573121/benson2-1.jpg + false + true + + false + true + + 9155 + en + false + + 7061 + false + false + false + false + + Sat Sep 03 23:26:23 +0000 2011 + 110131554474401792 + RT @Bumbershoot: There's still about 150 comedy passes left for Bagley and Intiman, so grab them while you can. Remember there's always ... + web + false + false + + + + 8 + false + + Sat Sep 03 23:26:09 +0000 2011 + 110131497054380032 + There's still about 150 comedy passes left for Bagley and Intiman, so grab them while you can. Remember there's always standby room too! + <a href="http://cotweet.com/?utm_source=sp1" rel="nofollow">CoTweet</a> + false + false + + + + 8 + false + + + + + + + + + + + + + 809760 + Tim Siedell + badbanana + Nebraska, USA + Sometimes I just want to give it all up and become a handsome billionaire. + http://a2.twimg.com/profile_images/795687519/Bad_Banana_normal.jpg + https://si0.twimg.com/profile_images/795687519/Bad_Banana_normal.jpg + http://about.me/timsiedell + false + 522106 + 484c54 + 6e6e6e + cf6519 + ffe5a8 + eeeeee + 274 + Sun Mar 04 05:57:43 +0000 2007 + 1498 + -21600 + Central Time (US & Canada) + http://a3.twimg.com/profile_background_images/37772539/Pinstripe2.png + https://si0.twimg.com/profile_background_images/37772539/Pinstripe2.png + true + true + + false + true + + 13846 + en + false + + 11740 + false + false + false + false + + Sun Sep 04 00:49:56 +0000 2011 + 110152580524552192 + Hey, GEICO commercials. We know. + <a href="http://twitter.com/#!/download/ipad" rel="nofollow">Twitter for iPad</a> + false + false + + + + 100+ + false + + + + + + + + 6173842 + ICanHasCheezburger? + ICHCheezburger + Seattle, WA + I can has funny pictures of cats, plz? + http://a3.twimg.com/profile_images/1213876440/27539_32561485399_2579_n_normal.jpeg + https://si0.twimg.com/profile_images/1213876440/27539_32561485399_2579_n_normal.jpeg + http://icanhascheezburger.com + false + 1573809 + 9ae4e8 + 000000 + 0000ff + e0ff92 + 87bc44 + 3124 + Sun May 20 08:02:15 +0000 2007 + 4 + -28800 + Pacific Time (US & Canada) + http://a2.twimg.com/profile_background_images/30261844/ICHCTwitterBG.jpg + https://si0.twimg.com/profile_background_images/30261844/ICHCTwitterBG.jpg + false + true + + false + false + + 11545 + en + false + + 6567 + false + false + false + false + + Sun Sep 04 00:30:45 +0000 2011 + 110147753581096960 + Dryer Cat Approves! - funny pictures - Dryer Cat Approves!LoL by: PrincessWordplay http://t.co/oprEt4y + <a href="http://www.hootsuite.com" rel="nofollow">HootSuite</a> + false + false + + + + 2 + false + + + + false + + + + + 22461427 + Al Yankovic + alyankovic + Los Angeles + You know... the Eat It guy. + http://a2.twimg.com/profile_images/246073324/IL2_normal.jpg + https://si0.twimg.com/profile_images/246073324/IL2_normal.jpg + http://www.weirdal.com + false + 2135752 + 9AE4E8 + 333333 + 0084B4 + DDFFCC + BDDCAD + 210 + Mon Mar 02 07:00:29 +0000 2009 + 277 + -28800 + Pacific Time (US & Canada) + http://a1.twimg.com/profile_background_images/5009241/906623544_l.jpg + https://si0.twimg.com/profile_background_images/5009241/906623544_l.jpg + true + true + + false + true + + 1377 + en + false + + 27656 + true + false + false + false + + Sat Sep 03 18:28:17 +0000 2011 + 110056533651496960 + I know our economy is messed up, but I still think it’s ridiculous to charge almost 200 bucks for a side of soup. http://t.co/LwAeytG + <a href="http://twitpic.com" rel="nofollow">Twitpic</a> + false + false + + + + 100+ + false + + + + false + + + + + 19637934 + RainnWilson + rainnwilson + Los Angeles-ish + I am an actor and a writer and I co-created SoulPancake and my son, Walter. + http://a2.twimg.com/profile_images/1431046561/rainnwilsonT6I7409_normal.jpg + https://si0.twimg.com/profile_images/1431046561/rainnwilsonT6I7409_normal.jpg + http://www.facebook.com/rainnwilson + false + 2526400 + ffffff + 585F65 + 9FA1A3 + 17161A + 22262B + 244 + Wed Jan 28 05:28:45 +0000 2009 + 1480 + -21600 + Saskatchewan + http://a3.twimg.com/profile_background_images/212017033/rainn.jpg + https://si0.twimg.com/profile_background_images/212017033/rainn.jpg + true + true + + false + true + + 6163 + en + false + + 32753 + false + false + false + false + + Sun Sep 04 00:49:47 +0000 2011 + 110152541580427264 + Obama is capitulating so much that he has decided to vote for Rick Perry. + <a href="http://twitter.com/devices" rel="nofollow">txt</a> + false + false + + + + 100+ + false + + + + + + + + 16302651 + Eugene Mirman + EugeneMirman + Brooklyn, NY + I am television's Eugene Mirman. I am very nice and like seafood. + http://a2.twimg.com/profile_images/61007765/237905348-Ti_normal.jpg + https://si0.twimg.com/profile_images/61007765/237905348-Ti_normal.jpg + http://www.eugenemirman.com + false + 140088 + fbf7e9 + a24616 + b83c0a + ffffff + fff9f5 + 256 + Mon Sep 15 21:51:02 +0000 2008 + 0 + -18000 + Eastern Time (US & Canada) + http://a2.twimg.com/profile_background_images/3286688/twitter_bg.jpg + https://si0.twimg.com/profile_background_images/3286688/twitter_bg.jpg + true + true + + false + true + + 2723 + en + false + + 3205 + true + false + false + false + + Sat Sep 03 21:47:08 +0000 2011 + 110106576421007360 + @godzillaeyes It's not creepy, but you will just end up seeing mostly the same set three times probably. + web + false + false + 110068002430517249 + 14122597 + godzillaeyes + 1 + false + + + + + + + + 6480652 + Paul Scheer + paulscheer + Los Angeles, CA + Paul Scheer uses furniture but doesn't trust it. + http://a3.twimg.com/profile_images/1156102294/5096530605_7b05eb0348_o_normal.jpg + https://si0.twimg.com/profile_images/1156102294/5096530605_7b05eb0348_o_normal.jpg + http://www.paulscheer.com + false + 216100 + e7d352 + 666666 + 2FC2EF + 252429 + 181A1E + 453 + Thu May 31 19:05:17 +0000 2007 + 44 + -28800 + Pacific Time (US & Canada) + http://a2.twimg.com/profile_background_images/292867502/NTSF-webskin.jpg + https://si0.twimg.com/profile_background_images/292867502/NTSF-webskin.jpg + false + true + + false + true + + 1823 + en + false + + 5073 + false + false + false + false + + Sat Sep 03 07:36:37 +0000 2011 + 109892539112374272 + @danieljpowell good point + web + false + false + 109796913129336832 + 25741706 + danieljpowell + 0 + false + + + + + + + diff --git a/spec/twitter/client/user_spec.rb b/spec/twitter/client/user_spec.rb index 09e124764..c33e737d0 100644 --- a/spec/twitter/client/user_spec.rb +++ b/spec/twitter/client/user_spec.rb @@ -278,6 +278,26 @@ end + describe ".suggest_users" do + + before do + stub_get("1/users/suggestions/art-design/members.#{format}"). + to_return(:body => fixture("members.#{format}"), :headers => {:content_type => "application/#{format}; charset=utf-8"}) + end + + it "should get the correct resource" do + @client.suggest_users("art-design") + a_get("1/users/suggestions/art-design/members.#{format}"). + should have_been_made + end + + it "should return users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user" do + suggest_users = @client.suggest_users("art-design") + suggest_users.first.name.should == "OMGFacts" + end + + end + describe ".profile_image" do context "with screen name passed" do