Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add User#recommendations method

  • Loading branch information...
commit 52d13cd4711931539686a483daa15666bae297a5 1 parent a2869f2
@sferik authored
View
19 lib/twitter/client/user.rb
@@ -214,6 +214,25 @@ def followers(*args)
end
format.to_s.downcase == 'xml' ? response['users_list'] : response
end
+
+ # Returns recommended users for the authenticated user
+ #
+ # @note {https://dev.twitter.com/discussions/1120 Undocumented}
+ # @rate_limited Yes
+ # @requires_authentication Yes
+ # @response_format `json`
+ # @response_format `xml`
+ # @param options [Hash] A customizable set of options.
+ # @option options [Integer] :limit (20) Specifies the number of records to retrieve.
+ # @option options [String] :excluded Comma-separated list of user IDs to exclude.
+ # @return [Array]
+ # @example Return recommended users for the authenticated user
+ # Twitter.recommendations
+ def recommendations(options={})
+ options[:excluded] = options[:excluded].join(',') if options[:excluded].is_a?(Array)
+ response = get('users/recommendations', options)
+ format.to_s.downcase == 'xml' ? response['userrecommendations'] : response
+ end
end
end
end
View
1  spec/fixtures/recommendations.json
@@ -0,0 +1 @@
+[{"user":{"time_zone":"Eastern Time (US & Canada)","protected":false,"default_profile":true,"profile_use_background_image":true,"name":"John Trupiano","contributors_enabled":false,"created_at":"Sun May 11 19:46:06 +0000 2008","profile_background_color":"C0DEED","listed_count":99,"profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-18000,"description":"Owner of @smartlogic. I tweet a mixed stream of incoherence and inside jokes. My tweets make me laugh; your mileage will vary.","verified":false,"profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/627637055\/thumb_gravatar_normal.jpg","id_str":"14736332","lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","favourites_count":117,"profile_text_color":"333333","status":{"truncated":false,"created_at":"Sat Aug 20 03:27:22 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"104756380472324096","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitter.com\/#!\/download\/iphone\" rel=\"nofollow\"\u003ETwitter for iPhone\u003C\/a\u003E","id":104756380472324096,"text":"Jimmy Johns: the best place to go right after getting pepper sprayed."},"friends_count":545,"profile_sidebar_fill_color":"DDEEF6","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/627637055\/thumb_gravatar_normal.jpg","screen_name":"jtrupiano","default_profile_image":false,"show_all_inline_media":false,"geo_enabled":false,"profile_background_tile":false,"location":"Baltimore, MD","notifications":null,"is_translator":false,"profile_link_color":"0084B4","url":"http:\/\/smartlogicsolutions.com\/john","id":14736332,"follow_request_sent":null,"statuses_count":3850,"following":null,"profile_sidebar_border_color":"C0DEED","followers_count":802},"token":"1"},{"user":{"follow_request_sent":false,"time_zone":"Pacific Time (US & Canada)","protected":false,"profile_use_background_image":true,"name":"Matt Laroche","created_at":"Sun Apr 20 12:05:38 +0000 2008","profile_background_color":"C6E2EE","show_all_inline_media":false,"contributors_enabled":false,"geo_enabled":true,"profile_background_image_url":"http:\/\/a1.twimg.com\/images\/themes\/theme2\/bg.gif","utc_offset":-28800,"description":"Software engineer, beer advocate, Palo Altan, husband.","listed_count":20,"verified":false,"profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/1255024245\/banana_reasonably_small_normal.jpg","id_str":"14451152","lang":"en","favourites_count":10,"profile_text_color":"663B12","status":{"truncated":false,"created_at":"Sun Aug 21 20:59:41 +0000 2011","geo":{"type":"Point","coordinates":[33.8043296,-117.9226607]},"in_reply_to_user_id":20113974,"in_reply_to_status_id":105382259623854081,"favorited":false,"in_reply_to_status_id_str":"105382259623854081","coordinates":{"type":"Point","coordinates":[-117.9226607,33.8043296]},"id_str":"105383592376537088","in_reply_to_screen_name":"chasesterling","in_reply_to_user_id_str":"20113974","place":{"country_code":"US","name":"Anaheim","attributes":{},"full_name":"Anaheim, CA","place_type":"city","country":"United States","bounding_box":{"type":"Polygon","coordinates":[[[-118.017597,33.788835],[-117.674604,33.788835],[-117.674604,33.881456],[-118.017597,33.881456]]]},"id":"0c2e6999105f8070","url":"http:\/\/api.twitter.com\/1\/geo\/id\/0c2e6999105f8070.json"},"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitter.com\/download\/android\" rel=\"nofollow\"\u003ETwitter for Android\u003C\/a\u003E","id":105383592376537088,"text":"@chasesterling sadly in a fake vending machine at the Monsters Inc ride at Disney's California Adventure."},"statuses_count":6251,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme2\/bg.gif","profile_sidebar_fill_color":"DAECF4","screen_name":"mlroach","profile_background_tile":false,"friends_count":403,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1255024245\/banana_reasonably_small_normal.jpg","location":"Palo Alto, California","default_profile_image":false,"notifications":false,"default_profile":false,"profile_link_color":"1F98C7","url":null,"id":14451152,"is_translator":false,"following":false,"profile_sidebar_border_color":"C6E2EE","followers_count":299},"token":"21"},{"user":{"follow_request_sent":false,"statuses_count":183,"time_zone":"Greenland","protected":false,"profile_use_background_image":true,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/121725893\/3136259685_ed14d06774.jpg","name":"AntonioPires","created_at":"Sat May 16 18:24:33 +0000 2009","profile_background_color":"000000","profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/121725893\/3136259685_ed14d06774.jpg","utc_offset":-10800,"description":"","listed_count":2,"contributors_enabled":false,"verified":false,"geo_enabled":true,"profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/1067377349\/s_normal.jpg","id_str":"40514587","lang":"en","favourites_count":2,"profile_text_color":"828282","status":{"truncated":false,"created_at":"Mon Jun 13 16:27:31 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"80310340704931840","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"web","id":80310340704931840,"text":"Estou concorrendo a 1 ingresso do Alexandre Wollner no Rio \u2013 http:\/\/t.co\/QlJZUqF Siga @design_blog e @pensoeventos e d\u00ea RT!"},"show_all_inline_media":false,"profile_sidebar_fill_color":"1c1c1c","screen_name":"antpires","profile_background_tile":false,"location":"Rio","default_profile_image":false,"notifications":false,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1067377349\/s_normal.jpg","friends_count":198,"profile_link_color":"e86f6f","url":"http:\/\/antpires.carbonmade.com","id":40514587,"is_translator":false,"default_profile":false,"following":false,"profile_sidebar_border_color":"000000","followers_count":158},"token":"14"},{"user":{"time_zone":"London","protected":false,"follow_request_sent":false,"profile_use_background_image":true,"name":"Alex MacCaw","created_at":"Fri Mar 23 12:36:14 +0000 2007","profile_background_color":"9ae4e8","contributors_enabled":false,"profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":0,"description":"Ruby\/JavaScript developer, O'Reilly author and entrepreneur. ","default_profile":false,"verified":false,"profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/1081483457\/Gravatar_for_info_eribium_normal.jpeg","id_str":"2006261","listed_count":171,"lang":"en","favourites_count":9,"profile_text_color":"000000","status":{"truncated":false,"created_at":"Sun Aug 21 23:54:01 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"105427467593981952","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitter.com\/tweetbutton\" rel=\"nofollow\"\u003ETweet Button\u003C\/a\u003E","id":105427467593981952,"text":"Visualizing WebKit's hardware acceleration http:\/\/t.co\/nX5pvPl via @thomasfuchs"},"profile_sidebar_fill_color":"e0ff92","screen_name":"maccman","show_all_inline_media":false,"geo_enabled":true,"profile_background_tile":false,"location":"London","notifications":false,"is_translator":false,"default_profile_image":false,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","profile_link_color":"0000ff","url":"http:\/\/alexmaccaw.co.uk","id":2006261,"statuses_count":4497,"following":false,"friends_count":967,"profile_sidebar_border_color":"87bc44","followers_count":2028,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1081483457\/Gravatar_for_info_eribium_normal.jpeg"},"token":"11"},{"user":{"follow_request_sent":false,"statuses_count":24,"time_zone":"Pacific Time (US & Canada)","protected":false,"profile_use_background_image":true,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","name":"stuntmann82","created_at":"Sat Aug 30 08:22:57 +0000 2008","profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-28800,"description":"","listed_count":1,"contributors_enabled":false,"verified":false,"geo_enabled":false,"profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/249396146\/images_normal.jpg","id_str":"16052754","lang":"en","favourites_count":0,"profile_text_color":"333333","status":{"truncated":false,"created_at":"Wed Nov 25 06:20:05 +0000 2009","geo":null,"in_reply_to_user_id":2889221,"in_reply_to_status_id":null,"favorited":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"6042752864","in_reply_to_screen_name":"vitaminjeff","in_reply_to_user_id_str":"2889221","place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/www.tweetdeck.com\/\" rel=\"nofollow\"\u003ETweetDeck\u003C\/a\u003E","id":6042752864,"text":"@vitaminjeff Sup bro!"},"show_all_inline_media":false,"profile_sidebar_fill_color":"DDEEF6","screen_name":"stuntmann82","profile_background_tile":false,"location":"","default_profile_image":false,"notifications":false,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/249396146\/images_normal.jpg","friends_count":5,"profile_link_color":"0084B4","url":null,"id":16052754,"is_translator":false,"default_profile":true,"following":false,"profile_sidebar_border_color":"C0DEED","followers_count":42},"token":"14"},{"user":{"listed_count":921,"time_zone":"Alaska","protected":false,"profile_use_background_image":false,"name":"Loren Brichter","show_all_inline_media":true,"geo_enabled":true,"created_at":"Sun Nov 04 17:48:57 +0000 2007","profile_background_color":"1A1B1F","expanded_url":null,"profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-32400,"description":"meat popsicle","display_url":null,"default_profile_image":false,"verified":false,"profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/1054030005\/hello_normal.png","id_str":"9943672","entities":{"user_mentions":[],"urls":[],"hashtags":[]},"lang":"en","statuses_count":1092,"favourites_count":197,"friends_count":127,"profile_text_color":"666666","status":{"truncated":false,"created_at":"Tue Aug 16 20:43:45 +0000 2011","geo":null,"in_reply_to_user_id":15048963,"in_reply_to_status_id":103567401634897920,"favorited":false,"in_reply_to_status_id_str":"103567401634897920","coordinates":null,"id_str":"103567644837429250","in_reply_to_screen_name":"jboley","in_reply_to_user_id_str":"15048963","place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/itunes.apple.com\/us\/app\/twitter\/id409789998?mt=12\" rel=\"nofollow\"\u003ETwitter for Mac\u003C\/a\u003E","id":103567644837429250,"text":"@jboley could swap out the backend, base TwUI right on top of GL, then we could go nuts."},"is_translator":false,"profile_sidebar_fill_color":"252429","screen_name":"lorenb","follow_request_sent":null,"contributors_enabled":false,"profile_background_tile":false,"location":"Philly","notifications":null,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","default_profile":false,"profile_link_color":"2FC2EF","url":null,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1054030005\/hello_normal.png","id":9943672,"following":null,"profile_sidebar_border_color":"181A1E","followers_count":13101},"token":"22"},{"user":{"time_zone":"Pacific Time (US & Canada)","protected":false,"profile_use_background_image":true,"name":"Craig Hockenberry","default_profile":false,"contributors_enabled":false,"created_at":"Sat Dec 02 03:11:33 +0000 2006","profile_background_color":"CD3300","listed_count":1180,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/17652\/Untitled-1.jpg","utc_offset":-28800,"description":"HAD THE IDEA FOR TWITTERRIFIC IN THE SHOWER","verified":false,"profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/838441522\/P9010020_normal.jpg","id_str":"36183","lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/17652\/Untitled-1.jpg","favourites_count":1774,"profile_text_color":"000000","status":{"truncated":false,"created_at":"Thu Aug 18 15:10:58 +0000 2011","geo":null,"in_reply_to_user_id":7440462,"in_reply_to_status_id":104193896204075010,"favorited":false,"in_reply_to_status_id_str":"104193896204075010","coordinates":null,"id_str":"104208673303310337","in_reply_to_screen_name":"drance","in_reply_to_user_id_str":"7440462","place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitterrific.com\" rel=\"nofollow\"\u003ETwitterrific for Mac\u003C\/a\u003E","id":104208673303310337,"text":"@drance $20 x 12 > cost of an iPhone 5"},"friends_count":412,"profile_sidebar_fill_color":"DAFFBE","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/838441522\/P9010020_normal.jpg","screen_name":"chockenberry","default_profile_image":false,"show_all_inline_media":true,"geo_enabled":false,"profile_background_tile":true,"location":"Laguna Beach, CA, USA","notifications":false,"is_translator":false,"profile_link_color":"8C3500","url":"http:\/\/furbo.org","id":36183,"follow_request_sent":false,"statuses_count":17036,"following":false,"profile_sidebar_border_color":"A6CD89","followers_count":12386},"token":"24"},{"user":{"is_translator":false,"show_all_inline_media":false,"geo_enabled":false,"time_zone":"Eastern Time (US & Canada)","protected":false,"follow_request_sent":false,"profile_use_background_image":true,"name":"Mike Dalessio","contributors_enabled":false,"created_at":"Fri May 02 14:52:50 +0000 2008","profile_background_color":"C0DEED","statuses_count":658,"profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-18000,"description":"Rubyist, Pragmatist, Optimist, One Trick Pony. Co-author of Nokogiri. Superpowers: none (yet).\r\n","verified":false,"profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1167926691\/nokogiri-mother-1-crop_normal.png","id_str":"14626544","listed_count":28,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","favourites_count":255,"profile_text_color":"333333","status":{"truncated":false,"created_at":"Wed Aug 17 22:18:33 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"103953891397345280","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":9,"source":"web","retweeted_status":{"truncated":false,"created_at":"Wed Aug 17 21:44:08 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"103945228565757952","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":9,"source":"\u003Ca href=\"http:\/\/timely.is\" rel=\"nofollow\"\u003ETimely App\u003C\/a\u003E","id":103945228565757952,"text":"SSH Can Do That? Productivity Tips for Working with Remote Servers http:\/\/t.co\/F2X0gnq <- lots of good SSH tricks"},"id":103953891397345280,"text":"RT @assaf: SSH Can Do That? Productivity Tips for Working with Remote Servers http:\/\/t.co\/F2X0gnq <- lots of good SSH tricks"},"default_profile":true,"profile_sidebar_fill_color":"DDEEF6","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1167926691\/nokogiri-mother-1-crop_normal.png","screen_name":"flavorjones","profile_background_tile":false,"location":"NYC \/ NJ","notifications":false,"friends_count":351,"default_profile_image":false,"profile_link_color":"0084B4","url":"http:\/\/mike.daless.io\/","id":14626544,"following":false,"profile_sidebar_border_color":"C0DEED","followers_count":375},"token":"1"},{"user":{"time_zone":"Pacific Time (US & Canada)","protected":false,"show_all_inline_media":false,"contributors_enabled":false,"geo_enabled":true,"profile_use_background_image":false,"name":"GovFresh","listed_count":633,"created_at":"Sat May 02 22:19:00 +0000 2009","profile_background_color":"ffffff","profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-28800,"description":"Gov 2.0, open gov news, guides, TV, tech, people. Open air government. (@lukefretwell)","statuses_count":7419,"verified":false,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/291447950\/icon_normal.png","id_str":"37296570","lang":"en","favourites_count":69,"friends_count":205,"profile_text_color":"333333","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/291447950\/icon_normal.png","status":{"truncated":false,"created_at":"Mon Aug 22 02:00:14 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"105459232068993024","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/www.tweetdeck.com\" rel=\"nofollow\"\u003ETweetDeck\u003C\/a\u003E","id":105459232068993024,"text":"RT @adrielhampton: Mention on #g2r: Kundra: Closing IT gap is key to making gov't work better for the American people http:\/\/t.co\/4vywBK0"},"default_profile_image":false,"profile_sidebar_fill_color":"ffffff","screen_name":"govfresh","profile_background_tile":false,"location":"USA","is_translator":false,"notifications":false,"default_profile":false,"follow_request_sent":false,"profile_link_color":"006699","url":"http:\/\/www.govfresh.com","id":37296570,"following":false,"profile_sidebar_border_color":"ffffff","followers_count":4770},"token":"1"},{"user":{"default_profile":false,"profile_background_color":"1A1B1F","protected":false,"show_all_inline_media":false,"contributors_enabled":false,"geo_enabled":true,"profile_background_image_url":"http:\/\/a1.twimg.com\/images\/themes\/theme9\/bg.gif","name":"Ola Bini","listed_count":446,"created_at":"Mon Jul 23 19:05:23 +0000 2007","id_str":"7665302","utc_offset":3600,"favourites_count":2,"profile_text_color":"666666","description":"Programming language nerd, JRuby core developer, language designer (Ioke), lisp and ruby fanatic.","statuses_count":8222,"verified":false,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme9\/bg.gif","profile_sidebar_fill_color":"252429","profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/52551367\/ONormal_normal.jpg","lang":"en","profile_background_tile":false,"friends_count":204,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/52551367\/ONormal_normal.jpg","status":{"truncated":false,"in_reply_to_user_id":null,"favorited":false,"in_reply_to_status_id_str":null,"created_at":"Sun Aug 21 02:29:20 +0000 2011","id_str":"105104165822410752","geo":{"type":"Point","coordinates":[41.90894375,-87.67776878]},"in_reply_to_screen_name":null,"in_reply_to_status_id":null,"in_reply_to_user_id_str":null,"coordinates":{"type":"Point","coordinates":[-87.67776878,41.90894375]},"contributors":null,"retweeted":false,"place":{"place_type":"city","country_code":"US","name":"Chicago","attributes":{},"full_name":"Chicago, IL","country":"United States","bounding_box":{"type":"Polygon","coordinates":[[[-87.940101,41.644582],[-87.523661,41.644582],[-87.523661,42.023019],[-87.940101,42.023019]]]},"id":"1d9a5370a355ab0c","url":"http:\/\/api.twitter.com\/1\/geo\/id\/1d9a5370a355ab0c.json"},"retweet_count":0,"source":"\u003Ca href=\"http:\/\/www.tweetdeck.com\" rel=\"nofollow\"\u003ETweetDeck\u003C\/a\u003E","id":105104165822410752,"text":"Tonight the violet hour with lots of friends"},"default_profile_image":false,"screen_name":"olabini","profile_link_color":"2FC2EF","location":"iPhone: 40.755951,-73.968864","is_translator":false,"notifications":false,"profile_sidebar_border_color":"181A1E","follow_request_sent":false,"time_zone":"Stockholm","url":"http:\/\/olabini.com\/blog","id":7665302,"following":false,"profile_use_background_image":true,"followers_count":4905},"token":"1"},{"user":{"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme9\/bg.gif","time_zone":"Pacific Time (US & Canada)","protected":false,"profile_use_background_image":true,"friends_count":31485,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1408709905\/at-twitter_bigger_normal.png","name":"Spam Watch","default_profile_image":false,"created_at":"Tue Apr 29 19:55:39 +0000 2008","profile_background_color":"1A1B1F","expanded_url":null,"profile_background_image_url":"http:\/\/a1.twimg.com\/images\/themes\/theme9\/bg.gif","utc_offset":-28800,"description":"Suspect Twitter spam? Let us know (http:\/\/bit.ly\/Tweport)! Follow @spam & @safety for helpful info, and check out our favorite tips: http:\/\/bit.ly\/spamfav","display_url":null,"is_translator":false,"show_all_inline_media":false,"verified":true,"geo_enabled":false,"profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/1408709905\/at-twitter_bigger_normal.png","id_str":"14589771","entities":{"user_mentions":[{"name":"Spam Watch","indices":[67,72],"id_str":"14589771","screen_name":"spam","id":14589771},{"name":"Safety","indices":[75,82],"id_str":"95731075","screen_name":"safety","id":95731075}],"urls":[{"expanded_url":null,"indices":[35,56],"url":"http:\/\/bit.ly\/Tweport"},{"expanded_url":null,"indices":[134,155],"url":"http:\/\/bit.ly\/spamfav"}],"hashtags":[]},"follow_request_sent":false,"lang":"en","favourites_count":13,"profile_text_color":"888888","status":{"truncated":false,"created_at":"Thu Aug 18 17:59:14 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"104251017306185728","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":"100+","source":"web","retweeted_status":{"truncated":false,"created_at":"Thu Aug 18 17:58:29 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"104250831292993536","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":[139769125],"retweeted":false,"retweet_count":"100+","source":"web","id":104250831292993536,"text":"Seeing Tweets that you need to sign a petition to keep Twitter free? Don't click. It's fake and will steal your password."},"id":104251017306185728,"text":"RT @safety: Seeing Tweets that you need to sign a petition to keep Twitter free? Don't click. It's fake and will steal your password."},"default_profile":false,"profile_sidebar_fill_color":"252429","screen_name":"spam","statuses_count":166,"profile_background_tile":false,"location":"Twitter HQ","contributors_enabled":true,"notifications":false,"listed_count":8679,"profile_link_color":"2FC2EF","url":"http:\/\/help.twitter.com\/entries\/64986","id":14589771,"following":false,"profile_sidebar_border_color":"181A1E","followers_count":627222},"token":"22"},{"user":{"time_zone":"Eastern Time (US & Canada)","protected":false,"profile_use_background_image":true,"name":"Ethan Marcotte","contributors_enabled":false,"created_at":"Wed Nov 15 15:59:51 +0000 2006","profile_background_color":"121212","listed_count":1460,"profile_background_image_url":"http:\/\/a1.twimg.com\/profile_background_images\/224737148\/clint.jpg","utc_offset":-18000,"description":"Designer, developer. Started that whole \u201cresponsive web design\u201d thing.\r\n\r\n\u201cEight? Who taught you math?\u201d","verified":false,"profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/1266637465\/sammy-boy_normal.png","id_str":"12534","default_profile":false,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/224737148\/clint.jpg","favourites_count":25929,"profile_text_color":"000000","status":{"truncated":false,"created_at":"Sun Aug 21 17:04:59 +0000 2011","geo":null,"in_reply_to_user_id":14318544,"in_reply_to_status_id":105321846462889984,"favorited":false,"in_reply_to_status_id_str":"105321846462889984","coordinates":null,"id_str":"105324529127137280","in_reply_to_screen_name":"blissbat","in_reply_to_user_id_str":"14318544","place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitterrific.com\" rel=\"nofollow\"\u003ETwitterrific\u003C\/a\u003E","id":105324529127137280,"text":"@blissbat Oh my god. That is lovely. (And positively Templesmithian.)"},"friends_count":398,"profile_sidebar_fill_color":"7D7D7D","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1266637465\/sammy-boy_normal.png","screen_name":"beep","default_profile_image":false,"show_all_inline_media":true,"geo_enabled":false,"profile_background_tile":true,"location":"Cambridge, MA","notifications":false,"is_translator":false,"profile_link_color":"990000","url":"http:\/\/ethanmarcotte.com\/","id":12534,"follow_request_sent":false,"statuses_count":10490,"following":false,"profile_sidebar_border_color":"7D7D7D","followers_count":16264},"token":"22"},{"user":{"follow_request_sent":false,"time_zone":"Central Time (US & Canada)","protected":false,"profile_use_background_image":true,"name":"John Clay","created_at":"Sat Mar 14 05:19:35 +0000 2009","profile_background_color":"000000","show_all_inline_media":false,"contributors_enabled":false,"geo_enabled":false,"profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/7637392\/twitterbg1.jpg","utc_offset":-21600,"description":"1 Part Artist, 1 Part Geek, With a Splash of Pop Culture","listed_count":6,"verified":false,"profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1112575277\/41220_579052302952_57100648_33412341_4990242_n_normal.jpg","id_str":"24334548","default_profile":false,"lang":"en","favourites_count":2,"profile_text_color":"32332e","status":{"truncated":false,"created_at":"Wed Jul 27 04:23:15 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"96073136679825409","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"web","id":96073136679825409,"text":"http:\/\/t.co\/MKMlBcQ Well played @OldSpice - My vote is for #teamoldspiceguy. The writers and marketing team deserve a raise."},"statuses_count":477,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/7637392\/twitterbg1.jpg","profile_sidebar_fill_color":"8c8c88","screen_name":"Clayjm","profile_background_tile":false,"friends_count":103,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1112575277\/41220_579052302952_57100648_33412341_4990242_n_normal.jpg","location":"Missouri","default_profile_image":false,"notifications":false,"profile_link_color":"c6c09f","url":null,"id":24334548,"is_translator":false,"following":false,"profile_sidebar_border_color":"181A1E","followers_count":305},"token":"14"},{"user":{"default_profile":false,"time_zone":"Eastern Time (US & Canada)","protected":false,"profile_use_background_image":true,"name":"KaT","show_all_inline_media":false,"listed_count":1,"geo_enabled":false,"created_at":"Sat Mar 17 01:08:54 +0000 2007","profile_background_color":"1A1B1F","contributors_enabled":false,"profile_background_image_url":"http:\/\/a1.twimg.com\/images\/themes\/theme9\/bg.gif","utc_offset":-18000,"description":"","verified":false,"profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1496023849\/Clipboard01_normal.jpg","id_str":"1325781","lang":"en","statuses_count":1091,"favourites_count":0,"friends_count":71,"profile_text_color":"666666","status":{"truncated":false,"created_at":"Thu Aug 18 20:57:06 +0000 2011","geo":null,"in_reply_to_user_id":251147079,"in_reply_to_status_id":104281588854030336,"favorited":false,"in_reply_to_status_id_str":"104281588854030336","coordinates":null,"id_str":"104295781024010240","in_reply_to_screen_name":"zImperium","in_reply_to_user_id_str":"251147079","place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitter.com\/download\/android\" rel=\"nofollow\"\u003ETwitter for Android\u003C\/a\u003E","id":104295781024010240,"text":"@zImperium when will this be on the market since this is a closed beta ?"},"default_profile_image":false,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme9\/bg.gif","profile_sidebar_fill_color":"252429","screen_name":"katzworld","profile_background_tile":false,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1496023849\/Clipboard01_normal.jpg","location":"MD,USA","is_translator":false,"notifications":false,"follow_request_sent":false,"profile_link_color":"2FC2EF","url":null,"id":1325781,"following":false,"profile_sidebar_border_color":"181A1E","followers_count":269},"token":"14"},{"user":{"time_zone":"Central Time (US & Canada)","protected":true,"listed_count":2,"statuses_count":47,"profile_use_background_image":true,"name":"Angelika Biteme","contributors_enabled":false,"created_at":"Tue Jun 09 09:54:31 +0000 2009","profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-21600,"description":"Because I am addictted to Spymaster & can't go up any more levels, I started a new account. I admitted the addiction. Now I need an intervention.","verified":false,"friends_count":375,"profile_image_url":"http:\/\/a0.twimg.com\/sticky\/default_profile_images\/default_profile_5_normal.png","id_str":"45805107","default_profile_image":true,"lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","favourites_count":0,"profile_text_color":"333333","default_profile":true,"profile_sidebar_fill_color":"DDEEF6","profile_image_url_https":"https:\/\/si0.twimg.com\/sticky\/default_profile_images\/default_profile_5_normal.png","screen_name":"AngelikaSpy","is_translator":false,"show_all_inline_media":false,"profile_background_tile":false,"location":"Um, the computer desk. Duh.","follow_request_sent":false,"notifications":false,"profile_link_color":"0084B4","url":"http:\/\/angelika1972.blogspot.com\/","id":45805107,"following":false,"geo_enabled":false,"profile_sidebar_border_color":"C0DEED","followers_count":131},"token":"14"},{"user":{"time_zone":"Alaska","protected":false,"profile_use_background_image":true,"name":"LikeMinded","contributors_enabled":false,"created_at":"Fri Oct 29 23:32:48 +0000 2010","profile_background_color":"C0DEED","default_profile":false,"listed_count":26,"profile_background_image_url":"http:\/\/a3.twimg.com\/profile_background_images\/168455631\/free_twitter_designer.jpg","utc_offset":-32400,"description":"An online tool for offline community action, built by Craigslist Foundation. Share or discover an idea for change today!","verified":false,"profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/1159898446\/lm_twitter_normal.gif","id_str":"209802925","lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/168455631\/free_twitter_designer.jpg","favourites_count":1,"profile_text_color":"333333","status":{"truncated":false,"created_at":"Thu Aug 18 23:29:09 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"104334044203986945","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":4,"source":"\u003Ca href=\"http:\/\/www.hootsuite.com\" rel=\"nofollow\"\u003EHootSuite\u003C\/a\u003E","retweeted_status":{"truncated":false,"created_at":"Wed Aug 17 21:19:09 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"103938943233437696","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":4,"source":"\u003Ca href=\"http:\/\/www.hootsuite.com\" rel=\"nofollow\"\u003EHootSuite\u003C\/a\u003E","id":103938943233437696,"text":"Voting is now open for #SXSW panels! Please go vote for our panel with @Bluecadet @lkmnd on creating offline community http:\/\/ow.ly\/65TMm"},"id":104334044203986945,"text":"RT @atlasobscura: Voting is now open for #SXSW panels! Please go vote for our panel with @Bluecadet @lkmnd on creating offline community ..."},"friends_count":401,"profile_sidebar_fill_color":"DDEEF6","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1159898446\/lm_twitter_normal.gif","screen_name":"lkmnd","default_profile_image":false,"show_all_inline_media":false,"geo_enabled":true,"profile_background_tile":true,"location":"San Francisco, CA","notifications":false,"is_translator":false,"profile_link_color":"0084B4","url":"http:\/\/likeminded.org","id":209802925,"follow_request_sent":false,"statuses_count":128,"following":false,"profile_sidebar_border_color":"C0DEED","followers_count":332},"token":"23"},{"user":{"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","time_zone":null,"protected":false,"profile_use_background_image":true,"friends_count":133,"profile_image_url_https":"https:\/\/si0.twimg.com\/sticky\/default_profile_images\/default_profile_5_normal.png","name":"Jace","default_profile_image":true,"created_at":"Fri Jun 05 00:38:06 +0000 2009","profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":null,"description":null,"is_translator":false,"verified":false,"profile_image_url":"http:\/\/a0.twimg.com\/sticky\/default_profile_images\/default_profile_5_normal.png","id_str":"44776072","follow_request_sent":false,"lang":"en","favourites_count":0,"profile_text_color":"333333","status":{"truncated":false,"created_at":"Wed Jun 17 04:22:09 +0000 2009","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"2202180865","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/playspymaster.com\" rel=\"nofollow\"\u003ESpymaster\u003C\/a\u003E","id":2202180865,"text":"I just wounded @avianto in an assassination attempt. #spymaster http:\/\/bit.ly\/playspy"},"show_all_inline_media":false,"geo_enabled":false,"profile_sidebar_fill_color":"DDEEF6","screen_name":"SecretAgent00J","profile_background_tile":false,"location":null,"contributors_enabled":false,"notifications":false,"default_profile":true,"listed_count":2,"statuses_count":44,"profile_link_color":"0084B4","url":null,"id":44776072,"following":false,"profile_sidebar_border_color":"C0DEED","followers_count":80},"token":"14"},{"user":{"time_zone":"Central Time (US & Canada)","protected":false,"is_translator":false,"default_profile":true,"profile_use_background_image":true,"name":"Justa Spy","follow_request_sent":false,"statuses_count":34,"created_at":"Mon Jun 08 14:37:58 +0000 2009","profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-21600,"description":"My alter-ego... Find the real me: @goneflyin","verified":false,"profile_image_url":"http:\/\/a3.twimg.com\/sticky\/default_profile_images\/default_profile_4_normal.png","id_str":"45577830","contributors_enabled":false,"lang":"en","favourites_count":0,"profile_text_color":"333333","status":{"truncated":false,"created_at":"Wed Jul 20 01:04:26 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"93486387462021121","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/shadowcities.com\/\" rel=\"nofollow\"\u003EShadow Cities\u003C\/a\u003E","id":93486387462021121,"text":"Join Me (AufFlaighin) in the Battle for Shadow Cities! http:\/\/bit.ly\/mVYnxv"},"listed_count":3,"profile_sidebar_fill_color":"DDEEF6","screen_name":"gonespyin","profile_background_tile":false,"location":"","notifications":false,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","friends_count":626,"profile_link_color":"0084B4","url":null,"profile_image_url_https":"https:\/\/si0.twimg.com\/sticky\/default_profile_images\/default_profile_4_normal.png","id":45577830,"default_profile_image":true,"show_all_inline_media":false,"following":false,"geo_enabled":false,"profile_sidebar_border_color":"C0DEED","followers_count":364},"token":"14"},{"user":{"time_zone":"Eastern Time (US & Canada)","protected":false,"profile_use_background_image":true,"name":"Darth Vader","contributors_enabled":false,"created_at":"Tue Jan 09 15:42:04 +0000 2007","profile_background_color":"4B4B4B","listed_count":12900,"profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/30752\/vader.gif","utc_offset":-18000,"description":"Evil Orphan Annie\u2122","verified":false,"profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/425092539\/vader_normal_normal.png","id_str":"618593","lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/30752\/vader.gif","favourites_count":252,"profile_text_color":"8a8a8a","status":{"truncated":false,"created_at":"Thu Aug 18 14:02:38 +0000 2011","geo":null,"in_reply_to_user_id":641333,"in_reply_to_status_id":104190049779851264,"favorited":false,"in_reply_to_status_id_str":"104190049779851264","coordinates":null,"id_str":"104191476291997696","in_reply_to_screen_name":"davidcaolo","in_reply_to_user_id_str":"641333","place":null,"contributors":null,"retweeted":false,"retweet_count":1,"source":"\u003Ca href=\"http:\/\/twitterrific.com\" rel=\"nofollow\"\u003ETwitterrific for Mac\u003C\/a\u003E","id":104191476291997696,"text":"@davidcaolo If this is a consular ship, where is the ambassador?!"},"friends_count":6699,"profile_sidebar_fill_color":"000000","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/425092539\/vader_normal_normal.png","screen_name":"darthvader","default_profile_image":false,"default_profile":false,"show_all_inline_media":false,"geo_enabled":false,"profile_background_tile":true,"location":"Empire, CO","notifications":false,"is_translator":false,"profile_link_color":"AA1212","url":null,"id":618593,"follow_request_sent":false,"statuses_count":1454,"following":false,"profile_sidebar_border_color":"AA1212","followers_count":350892},"token":"22"},{"user":{"profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/53292788\/twitter_bg2.png","time_zone":"Pacific Time (US & Canada)","protected":false,"profile_use_background_image":true,"friends_count":254,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1497179992\/skitched-20110815-135946_normal.jpg","name":"Cliff Moon","default_profile_image":false,"created_at":"Mon Mar 24 01:05:35 +0000 2008","profile_background_color":"707070","profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/53292788\/twitter_bg2.png","utc_offset":-28800,"description":"Not a real person.","is_translator":false,"show_all_inline_media":false,"verified":false,"geo_enabled":true,"profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/1497179992\/skitched-20110815-135946_normal.jpg","id_str":"14204623","follow_request_sent":null,"lang":"en","favourites_count":320,"profile_text_color":"666666","status":{"truncated":false,"created_at":"Mon Aug 22 01:30:47 +0000 2011","geo":null,"in_reply_to_user_id":15387262,"in_reply_to_status_id":105451772604198912,"favorited":false,"in_reply_to_status_id_str":"105451772604198912","coordinates":null,"id_str":"105451820574457856","in_reply_to_screen_name":"ohlol","in_reply_to_user_id_str":"15387262","place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/www.tweetdeck.com\" rel=\"nofollow\"\u003ETweetDeck\u003C\/a\u003E","id":105451820574457856,"text":"@ohlol what is it?"},"profile_sidebar_fill_color":"000000","screen_name":"moonpolysoft","default_profile":false,"statuses_count":14100,"profile_background_tile":true,"location":"8========D~~~","contributors_enabled":false,"notifications":null,"listed_count":90,"profile_link_color":"66d6ff","url":"http:\/\/github.com\/cliffmoon","id":14204623,"following":null,"profile_sidebar_border_color":"bddcad","followers_count":1193},"token":"1"}]
View
843 spec/fixtures/recommendations.xml
@@ -0,0 +1,843 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<userrecommendations type="array">
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>14736332</id>
+ <name>John Trupiano</name>
+ <screen_name>jtrupiano</screen_name>
+ <location>Baltimore, MD</location>
+ <description>Owner of @smartlogic. I tweet a mixed stream of incoherence and inside jokes. My tweets make me laugh; your mileage will vary.</description>
+ <profile_image_url>http://a2.twimg.com/profile_images/627637055/thumb_gravatar_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/627637055/thumb_gravatar_normal.jpg</profile_image_url_https>
+ <url>http://smartlogicsolutions.com/john</url>
+ <protected>false</protected>
+ <followers_count>802</followers_count>
+ <profile_background_color>C0DEED</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
+ <friends_count>545</friends_count>
+ <created_at>Sun May 11 19:46:06 +0000 2008</created_at>
+ <favourites_count>117</favourites_count>
+ <utc_offset>-18000</utc_offset>
+ <time_zone>Eastern Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>3850</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>99</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>true</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>14</token>
+ <user>
+ <id>13980272</id>
+ <name>Travis Johnson</name>
+ <screen_name>traviscj</screen_name>
+ <location>iPhone: 47.657951,-122.307724</location>
+ <description>College Student, Aspiring Mathematician, hobby blogger</description>
+ <profile_image_url>http://a0.twimg.com/profile_images/75753124/Picture_2_normal.png</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/75753124/Picture_2_normal.png</profile_image_url_https>
+ <url>http://www.traviscj.com</url>
+ <protected>false</protected>
+ <followers_count>245</followers_count>
+ <profile_background_color>C6E2EE</profile_background_color>
+ <profile_text_color>663B12</profile_text_color>
+ <profile_link_color>1F98C7</profile_link_color>
+ <profile_sidebar_fill_color>DAECF4</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C6E2EE</profile_sidebar_border_color>
+ <friends_count>181</friends_count>
+ <created_at>Tue Feb 26 02:19:08 +0000 2008</created_at>
+ <favourites_count>14</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a1.twimg.com/images/themes/theme2/bg.gif</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme2/bg.gif</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>474</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>8</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>23</token>
+ <user>
+ <id>11320942</id>
+ <name>Leah Silber</name>
+ <screen_name>wifelette</screen_name>
+ <location>San Francisco, CA</location>
+ <description>GoGaRuCo + SproutCore + jQuery + RSoC == Leah</description>
+ <profile_image_url>http://a2.twimg.com/profile_images/1273162218/Leah_100x100_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/1273162218/Leah_100x100_normal.jpg</profile_image_url_https>
+ <url></url>
+ <protected>false</protected>
+ <followers_count>1343</followers_count>
+ <profile_background_color>C0DEED</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
+ <friends_count>430</friends_count>
+ <created_at>Wed Dec 19 02:48:55 +0000 2007</created_at>
+ <favourites_count>19</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <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>1657</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>112</listed_count>
+ <show_all_inline_media>true</show_all_inline_media>
+ <default_profile>true</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>2</token>
+ <user>
+ <id>4423611</id>
+ <name>robb</name>
+ <screen_name>robb</screen_name>
+ <location>San Francisco, CA</location>
+ <description>(ex)Developer at Digg.</description>
+ <profile_image_url>http://a0.twimg.com/profile_images/1121317636/Screen_shot_2010-09-10_at_5.49.14_PM_normal.png</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/1121317636/Screen_shot_2010-09-10_at_5.49.14_PM_normal.png</profile_image_url_https>
+ <url>http://robert.balousek.net</url>
+ <protected>false</protected>
+ <followers_count>1949</followers_count>
+ <profile_background_color>657087</profile_background_color>
+ <profile_text_color>616161</profile_text_color>
+ <profile_link_color>df689a</profile_link_color>
+ <profile_sidebar_fill_color>000000</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>898989</profile_sidebar_border_color>
+ <friends_count>392</friends_count>
+ <created_at>Thu Apr 12 23:31:03 +0000 2007</created_at>
+ <favourites_count>0</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a1.twimg.com/profile_background_images/36801552/pattern.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/profile_background_images/36801552/pattern.png</profile_background_image_url_https>
+ <profile_background_tile>true</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>1847</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>81</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>12819682</id>
+ <name>Mitchell Hashimoto</name>
+ <screen_name>mitchellh</screen_name>
+ <location>San Francisco, CA</location>
+ <description>Developer. DevOps cowboy. Creator of Vagrant. Lover of open source. Programming language geek.</description>
+ <profile_image_url>http://a1.twimg.com/profile_images/1285167818/mitchcropped_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/1285167818/mitchcropped_normal.jpg</profile_image_url_https>
+ <url>http://github.com/mitchellh</url>
+ <protected>false</protected>
+ <followers_count>987</followers_count>
+ <profile_background_color>0f0f0f</profile_background_color>
+ <profile_text_color>666666</profile_text_color>
+ <profile_link_color>627e91</profile_link_color>
+ <profile_sidebar_fill_color>1c1c1c</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>404040</profile_sidebar_border_color>
+ <friends_count>124</friends_count>
+ <created_at>Tue Jan 29 07:56:05 +0000 2008</created_at>
+ <favourites_count>10</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a1.twimg.com/profile_background_images/159041570/xb1b980c20405d63f81c2c8fae842f4f.jpg</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/profile_background_images/159041570/xb1b980c20405d63f81c2c8fae842f4f.jpg</profile_background_image_url_https>
+ <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>3438</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>32</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>14</token>
+ <user>
+ <id>18623668</id>
+ <name>cuzimwhiterite</name>
+ <screen_name>cuzimwhiterite</screen_name>
+ <location></location>
+ <description></description>
+ <profile_image_url>http://a0.twimg.com/profile_images/271856477/TAO09_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/271856477/TAO09_normal.jpg</profile_image_url_https>
+ <url></url>
+ <protected>false</protected>
+ <followers_count>92</followers_count>
+ <profile_background_color>C0DEED</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
+ <friends_count>28</friends_count>
+ <created_at>Mon Jan 05 04:36:30 +0000 2009</created_at>
+ <favourites_count>0</favourites_count>
+ <utc_offset></utc_offset>
+ <time_zone></time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>724</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>1</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>true</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>31353077</id>
+ <name>Nathan Fillion</name>
+ <screen_name>NathanFillion</screen_name>
+ <location>Los Angeles</location>
+ <description>It costs nothing to say something kind. Even less to shut up altogether. BTW, I sometimes tweet a lot. Take me off text alerts!</description>
+ <profile_image_url>http://a2.twimg.com/profile_images/1261517064/image_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/1261517064/image_normal.jpg</profile_image_url_https>
+ <url></url>
+ <protected>false</protected>
+ <followers_count>952133</followers_count>
+ <profile_background_color>C0DEED</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
+ <friends_count>256</friends_count>
+ <created_at>Wed Apr 15 05:57:40 +0000 2009</created_at>
+ <favourites_count>94</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>true</verified>
+ <following>false</following>
+ <statuses_count>2465</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>27347</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>true</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>11</token>
+ <user>
+ <id>9720292</id>
+ <name>hashtags</name>
+ <screen_name>hashtags</screen_name>
+ <location>Seattle, WA</location>
+ <description></description>
+ <profile_image_url>http://a2.twimg.com/profile_images/40538472/hashtags_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/40538472/hashtags_normal.jpg</profile_image_url_https>
+ <url>http://hashtags.org</url>
+ <protected>false</protected>
+ <followers_count>234594</followers_count>
+ <profile_background_color>FFFFFF</profile_background_color>
+ <profile_text_color>323232</profile_text_color>
+ <profile_link_color>676767</profile_link_color>
+ <profile_sidebar_fill_color>CDCDCD</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>323232</profile_sidebar_border_color>
+ <friends_count>92163</friends_count>
+ <created_at>Fri Oct 26 20:39:49 +0000 2007</created_at>
+ <favourites_count>19</favourites_count>
+ <utc_offset>-21600</utc_offset>
+ <time_zone>Central Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>false</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>true</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>147</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>5598</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>607063</id>
+ <name>Jon Crosby</name>
+ <screen_name>jcrosby</screen_name>
+ <location>SF Bay Area, CA</location>
+ <description>Path, Engine Yard Cloud, CloudKit, Ruby, JavaScript, Objective-C, OpenWeb hacker.</description>
+ <profile_image_url>http://a0.twimg.com/profile_images/110397671/jon_crosby_144x144_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/110397671/jon_crosby_144x144_normal.jpg</profile_image_url_https>
+ <url>http://joncrosby.me</url>
+ <protected>false</protected>
+ <followers_count>1299</followers_count>
+ <profile_background_color>ffffff</profile_background_color>
+ <profile_text_color>666666</profile_text_color>
+ <profile_link_color>2FC2EF</profile_link_color>
+ <profile_sidebar_fill_color>ffffff</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>181A1E</profile_sidebar_border_color>
+ <friends_count>209</friends_count>
+ <created_at>Sat Jan 06 05:15:51 +0000 2007</created_at>
+ <favourites_count>16</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>false</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>1511</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>86</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>11</token>
+ <user>
+ <id>774234</id>
+ <name>Mando Escamilla</name>
+ <screen_name>mandoescamilla</screen_name>
+ <location>Austin, TX</location>
+ <description>Father and developer</description>
+ <profile_image_url>http://a2.twimg.com/profile_images/968902013/rehearsal_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/968902013/rehearsal_normal.jpg</profile_image_url_https>
+ <url>http://www.mando.org</url>
+ <protected>false</protected>
+ <followers_count>718</followers_count>
+ <profile_background_color>022330</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>C0DFEC</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>a8c7f7</profile_sidebar_border_color>
+ <friends_count>1342</friends_count>
+ <created_at>Thu Feb 15 18:51:10 +0000 2007</created_at>
+ <favourites_count>281</favourites_count>
+ <utc_offset>-21600</utc_offset>
+ <time_zone>Central Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme15/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme15/bg.png</profile_background_image_url_https>
+ <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>5716</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>31</listed_count>
+ <show_all_inline_media>true</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>2</token>
+ <user>
+ <id>14964705</id>
+ <name>mattmiszewski</name>
+ <screen_name>mattmiszewski</screen_name>
+ <location>Woodinville</location>
+ <description>Blessed to speak w/ world leaders abt leveraging magic of the cloud for their citizens.Fmr CIO WI. FixingPotholes.com mattmiszewski.com</description>
+ <profile_image_url>http://a2.twimg.com/profile_images/1364750565/MiszewskiProfile_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/1364750565/MiszewskiProfile_normal.jpg</profile_image_url_https>
+ <url>http://FixingPotholes.com</url>
+ <protected>false</protected>
+ <followers_count>1077</followers_count>
+ <profile_background_color>000000</profile_background_color>
+ <profile_text_color>000000</profile_text_color>
+ <profile_link_color>706238</profile_link_color>
+ <profile_sidebar_fill_color>f0e5c1</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>ae2424</profile_sidebar_border_color>
+ <friends_count>1900</friends_count>
+ <created_at>Sat May 31 17:35:15 +0000 2008</created_at>
+ <favourites_count>12</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/profile_background_images/29830458/new_fake_large_483-4.jpg</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/profile_background_images/29830458/new_fake_large_483-4.jpg</profile_background_image_url_https>
+ <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>4928</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>92</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>14</token>
+ <user>
+ <id>45772451</id>
+ <name>k3nj1</name>
+ <screen_name>k3nj1TheSpy</screen_name>
+ <location></location>
+ <description></description>
+ <profile_image_url>http://a3.twimg.com/sticky/default_profile_images/default_profile_4_normal.png</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/sticky/default_profile_images/default_profile_4_normal.png</profile_image_url_https>
+ <url></url>
+ <protected>false</protected>
+ <followers_count>236</followers_count>
+ <profile_background_color>C0DEED</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
+ <friends_count>462</friends_count>
+ <created_at>Tue Jun 09 05:22:41 +0000 2009</created_at>
+ <favourites_count>0</favourites_count>
+ <utc_offset></utc_offset>
+ <time_zone></time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>13</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>5</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>true</default_profile>
+ <default_profile_image>true</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>636923</id>
+ <name>John Siracusa</name>
+ <screen_name>siracusa</screen_name>
+ <location>Newton, MA</location>
+ <description></description>
+ <profile_image_url>http://a2.twimg.com/profile_images/1501070030/John_2011_1_500x500_normal.png</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/1501070030/John_2011_1_500x500_normal.png</profile_image_url_https>
+ <url>http://arstechnica.com/author/john-siracusa/</url>
+ <protected>false</protected>
+ <followers_count>15787</followers_count>
+ <profile_background_color>C0DEED</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
+ <friends_count>110</friends_count>
+ <created_at>Mon Jan 15 17:57:00 +0000 2007</created_at>
+ <favourites_count>578</favourites_count>
+ <utc_offset>-18000</utc_offset>
+ <time_zone>Eastern Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>11478</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>1224</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>true</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>11073882</id>
+ <name>Alex M.</name>
+ <screen_name>demonbane</screen_name>
+ <location>San Francisco, CA</location>
+ <description>By day, I'm a Ruby geek working at GitHub. By night, I do other stuff...</description>
+ <profile_image_url>http://a0.twimg.com/profile_images/1137436685/IMG_20100531_111504-1_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/1137436685/IMG_20100531_111504-1_normal.jpg</profile_image_url_https>
+ <url>http://the-love-shack.net</url>
+ <protected>false</protected>
+ <followers_count>478</followers_count>
+ <profile_background_color>EBEBEB</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>990000</profile_link_color>
+ <profile_sidebar_fill_color>F3F3F3</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>DFDFDF</profile_sidebar_border_color>
+ <friends_count>301</friends_count>
+ <created_at>Wed Dec 12 03:19:01 +0000 2007</created_at>
+ <favourites_count>40</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a1.twimg.com/images/themes/theme7/bg.gif</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme7/bg.gif</profile_background_image_url_https>
+ <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>6945</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>42</listed_count>
+ <show_all_inline_media>true</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>13348</id>
+ <name>Robert Scoble</name>
+ <screen_name>Scobleizer</screen_name>
+ <location>Half Moon Bay, California, USA</location>
+ <description>Technology news, videos, opinions, from an enthusiastic Rackspace employee who grew up in Silicon Valley and has interviewed more than 3,200 geeks.</description>
+ <profile_image_url>http://a1.twimg.com/profile_images/456562836/scoblebuilding43crop-fanatiguy_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/456562836/scoblebuilding43crop-fanatiguy_normal.jpg</profile_image_url_https>
+ <url>http://www.google.com/profiles/scobleizer</url>
+ <protected>false</protected>
+ <followers_count>201254</followers_count>
+ <profile_background_color>C6E2EE</profile_background_color>
+ <profile_text_color>663B12</profile_text_color>
+ <profile_link_color>1F98C7</profile_link_color>
+ <profile_sidebar_fill_color>DAECF4</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C6E2EE</profile_sidebar_border_color>
+ <friends_count>32364</friends_count>
+ <created_at>Mon Nov 20 23:43:44 +0000 2006</created_at>
+ <favourites_count>41026</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a1.twimg.com/profile_background_images/31266726/scoblebuilding43small.jpg</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/profile_background_images/31266726/scoblebuilding43small.jpg</profile_background_image_url_https>
+ <profile_background_tile>true</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>true</geo_enabled>
+ <verified>true</verified>
+ <following>false</following>
+ <statuses_count>54969</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>18553</listed_count>
+ <show_all_inline_media>true</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>10377392</id>
+ <name>Scottish Ruby Conf</name>
+ <screen_name>scotrubyconf</screen_name>
+ <location>Edinburgh, Scotland</location>
+ <description>The First Scottish Conference for Ruby/Rails</description>
+ <profile_image_url>http://a3.twimg.com/profile_images/443064973/SRC_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/443064973/SRC_normal.jpg</profile_image_url_https>
+ <url>http://www.scotlandonrails.com/</url>
+ <protected>false</protected>
+ <followers_count>783</followers_count>
+ <profile_background_color>fff530</profile_background_color>
+ <profile_text_color>000000</profile_text_color>
+ <profile_link_color>1e16f8</profile_link_color>
+ <profile_sidebar_fill_color>fff530</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>2c3b81</profile_sidebar_border_color>
+ <friends_count>115</friends_count>
+ <created_at>Mon Nov 19 08:17:47 +0000 2007</created_at>
+ <favourites_count>0</favourites_count>
+ <utc_offset>0</utc_offset>
+ <time_zone>Edinburgh</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>false</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>638</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>81</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>5523</id>
+ <name>Pat Allan</name>
+ <screen_name>pat</screen_name>
+ <location>Melbourne, AU</location>
+ <description>@trampolineday founder &amp; Ruby developer with passion for the internet, music, politics, comedy, bringing people together, and making a difference. And pancakes.</description>
+ <profile_image_url>http://a3.twimg.com/profile_images/61894457/me-bw_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/61894457/me-bw_normal.jpg</profile_image_url_https>
+ <url>http://freelancing-gods.com</url>
+ <protected>false</protected>
+ <followers_count>2417</followers_count>
+ <profile_background_color>2d2d2d</profile_background_color>
+ <profile_text_color>4b4026</profile_text_color>
+ <profile_link_color>960303</profile_link_color>
+ <profile_sidebar_fill_color>f5f1d6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>f9c70b</profile_sidebar_border_color>
+ <friends_count>627</friends_count>
+ <created_at>Fri Sep 08 02:46:02 +0000 2006</created_at>
+ <favourites_count>22</favourites_count>
+ <utc_offset>36000</utc_offset>
+ <time_zone>Melbourne</time_zone>
+ <profile_background_image_url>http://a1.twimg.com/profile_background_images/1752482/mummy-for-twitter.gif</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/profile_background_images/1752482/mummy-for-twitter.gif</profile_background_image_url_https>
+ <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>12509</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>255</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>349802643</id>
+ <name>Gregory Brown</name>
+ <screen_name>gregory_t_brown</screen_name>
+ <location>New Haven, CT</location>
+ <description>This is my private account for conversations with friends. Announcements about projects and stuff will posted to @seacreature, not here.</description>
+ <profile_image_url>http://a1.twimg.com/profile_images/1481532131/5900762703_992634fbc4_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/1481532131/5900762703_992634fbc4_normal.jpg</profile_image_url_https>
+ <url>http://blog.majesticseacreature.com</url>
+ <protected>true</protected>
+ <followers_count>88</followers_count>
+ <profile_background_color>C0DEED</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
+ <friends_count>150</friends_count>
+ <created_at>Sat Aug 06 18:33:53 +0000 2011</created_at>
+ <favourites_count>0</favourites_count>
+ <utc_offset>-18000</utc_offset>
+ <time_zone>Eastern Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>44</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>1</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>true</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>1</token>
+ <user>
+ <id>781972</id>
+ <name>Err the Blog</name>
+ <screen_name>err</screen_name>
+ <location></location>
+ <description></description>
+ <profile_image_url>http://a0.twimg.com/profile_images/24183212/err_normal.png</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/24183212/err_normal.png</profile_image_url_https>
+ <url>http://errtheblog.com</url>
+ <protected>false</protected>
+ <followers_count>1643</followers_count>
+ <profile_background_color>FFFFFF</profile_background_color>
+ <profile_text_color>000000</profile_text_color>
+ <profile_link_color>FF0066</profile_link_color>
+ <profile_sidebar_fill_color>FFFFFF</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>000000</profile_sidebar_border_color>
+ <friends_count>2</friends_count>
+ <created_at>Tue Feb 20 01:41:11 +0000 2007</created_at>
+ <favourites_count>0</favourites_count>
+ <utc_offset>-28800</utc_offset>
+ <time_zone>Pacific Time (US &amp; Canada)</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/profile_background_images/59312/err.jpg</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/profile_background_images/59312/err.jpg</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>55</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>99</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>false</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+<userrecommendation>
+ <token>16</token>
+ <user>
+ <id>18498684</id>
+ <name>wefollow</name>
+ <screen_name>wefollow</screen_name>
+ <location>San Francisco, CA</location>
+ <description>A user powered twitter directory located at http://wefollow.com</description>
+ <profile_image_url>http://a2.twimg.com/profile_images/481883810/wf-icon_normal.jpg</profile_image_url>
+ <profile_image_url_https>https://si0.twimg.com/profile_images/481883810/wf-icon_normal.jpg</profile_image_url_https>
+ <url>http://wefollow.com</url>
+ <protected>false</protected>
+ <followers_count>677859</followers_count>
+ <profile_background_color>C0DEED</profile_background_color>
+ <profile_text_color>333333</profile_text_color>
+ <profile_link_color>0084B4</profile_link_color>
+ <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
+ <friends_count>4</friends_count>
+ <created_at>Wed Dec 31 04:17:33 +0000 2008</created_at>
+ <favourites_count>0</favourites_count>
+ <utc_offset>-32400</utc_offset>
+ <time_zone>Alaska</time_zone>
+ <profile_background_image_url>http://a0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url>
+ <profile_background_image_url_https>https://si0.twimg.com/images/themes/theme1/bg.png</profile_background_image_url_https>
+ <profile_background_tile>false</profile_background_tile>
+ <profile_use_background_image>true</profile_use_background_image>
+ <notifications>false</notifications>
+ <geo_enabled>false</geo_enabled>
+ <verified>false</verified>
+ <following>false</following>
+ <statuses_count>12</statuses_count>
+ <lang>en</lang>
+ <contributors_enabled>false</contributors_enabled>
+ <follow_request_sent>false</follow_request_sent>
+ <listed_count>11601</listed_count>
+ <show_all_inline_media>false</show_all_inline_media>
+ <default_profile>true</default_profile>
+ <default_profile_image>false</default_profile_image>
+ <is_translator>false</is_translator>
+ </user>
+</userrecommendation>
+</userrecommendations>
View
22 spec/twitter/client/user_spec.rb
@@ -412,6 +412,28 @@
followers.users.should be_an Array
followers.users.first.name.should == "Joel Mahoney"
end
+
+ end
+
+ end
+
+ describe ".recommendations" do
+
+ before do
+ stub_get("users/recommendations.#{format}").
+ to_return(:body => fixture("recommendations.#{format}"), :headers => {:content_type => "application/#{format}; charset=utf-8"})
+ end
+
+ it "should get the correct resource" do
+ @client.recommendations
+ a_get("users/recommendations.#{format}").
+ should have_been_made
+ end
+
+ it "should return recommended users for the authenticated user" do
+ recommendations = @client.recommendations
+ recommendations.should be_an Array
+ recommendations.first.user.name.should == "John Trupiano"
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.