{"id":447,"date":"2012-09-22T00:25:23","date_gmt":"2012-09-21T23:25:23","guid":{"rendered":"http:\/\/wobable.com\/?p=447"},"modified":"2012-09-22T00:25:23","modified_gmt":"2012-09-21T23:25:23","slug":"introducing-my-twitter-user-biography-downloader-excel-spreadsheet-thingymajig","status":"publish","type":"post","link":"https:\/\/wobable.com\/?p=447","title":{"rendered":"Introducing my Twitter User Biography Downloader Excel Spreadsheet Thingymajig"},"content":{"rendered":"<p>Ladies and Gentlemen, it gives me great pleasure to introduce my &#8220;Twitter User Biography Downloader Excel Spreadsheet Thingymajig&#8221;.<\/p>\n<p><a href=\"https:\/\/wobable.com\/wp-content\/uploads\/2012\/09\/Twitter-User-Biography-Downloader.xls\">Twitter User Biography Downloader<\/a><\/p>\n<p>This is an Excel spreadsheet I developed containing two macros that access the Twitter API to pull XML feeds into new sheets in the spreadsheet.<\/p>\n<p><strong>The first macro<\/strong> takes a series of usernames (which you provide in a list) and then delivers back the biographical detail for each user in a new worksheet. It also gives you the option of downloading up to the last 1200 tweets for each of the users, into\u00a0separate\u00a0(new) worksheets. This facility can also be used (by providing your own username) as a way of archiving your won tweets.<\/p>\n<p><strong>The second macro<\/strong> takes a username, and a Twitter list name, and provides back the user biographies for everyone on that list.<\/p>\n<p>The\u00a0biography\u00a0details these macros return are:<\/p>\n<ul>\n<li>User ID<\/li>\n<li>Username<\/li>\n<li>Real Name<\/li>\n<li>Bio Location<\/li>\n<li>Biography<\/li>\n<li>Biog Image<\/li>\n<li>Biog Website<\/li>\n<li>Followers<\/li>\n<li>Following<\/li>\n<li>Joined on<\/li>\n<li>Tweets sent<\/li>\n<li>Number of Favourites<\/li>\n<li>Number of Times Listed<\/li>\n<\/ul>\n<p>The tweet details that the first macro returns are:<\/p>\n<ul>\n<li>Unique Tweet Reference Number<\/li>\n<li>Time And Date Of Tweet<\/li>\n<li>Text Of Tweet<\/li>\n<li>Source &#8211; What App Was Used To Update Twitter?<\/li>\n<li>Has anyone favorited this tweet?<\/li>\n<li>In Reply To Tweet Id<\/li>\n<li>In Reply To Screen Name<\/li>\n<li>Retweet Count<\/li>\n<li>Retweeted (True or False)<\/li>\n<li>User Id<\/li>\n<li>User Real Name<\/li>\n<li>User Screen Name<\/li>\n<li>User Location<\/li>\n<li>Latitude And Longitude of tweet<\/li>\n<li>Place Id<\/li>\n<li>Place Full Name<\/li>\n<li>Place Name<\/li>\n<li>Place Type<\/li>\n<li>Paging Number (which page of results was the tweet on).<\/li>\n<\/ul>\n<p><strong>Some Caveats<\/strong><\/p>\n<p>I am not a programmer, I am a tinkerer so I know my code is not as bullet proof as it could be. Sometimes the macros don&#8217;t return as many results as you expect them to (especially if twitter is not responding as quickly as I would like!). Often running the macro again will solve this issue. If you are a better programmer than I and wish to develop it further, feel free &#8211; but I&#8217;d be grateful for a heads up so I can use your improved version!<\/p>\n<p>It won&#8217;t work on protected or suspended accounts.<\/p>\n<p>Please don&#8217;t ask me to explain how the macros work &#8211; I understand it enough that it works, but probably not enough to be able to explain it to someone else! If you are having issues with it, I am happy to try and help, but it is offered &#8220;as is&#8221; with no\u00a0guarantees!<\/p>\n<p>If you are running it multiple times, be aware that the macros will overwrite any data already added (as it refers to each worksheet that it creates by name).<\/p>\n<p>The spreadsheet calls on version 1 of the Twitter API. This means it is subject to rate limiting. If you hit the rate limits (i.e. have made too many calls to the Twitter database) leave it an hour or so, then try again.<\/p>\n<p>Version 1 of the twitter API is being depreciated. This means the macros are unlikely to work beyond March 2013. This is a major bummer, as I actually use these macros (or versions of them) a lot in my work. I can&#8217;t find anywhere how to OAuth-enticate using VBA, so I will have to find a different way of working from March. I could write a major rant about the direction that Twitter is taking (and why I completely disagree with it) but for now, you might like to read\u00a0<a href=\"https:\/\/dev.twitter.com\/blog\/changes-coming-to-twitter-api\" target=\"_blank\">more information on the changes that Twitter are making to their API on the twitter developers blog.<\/a><\/p>\n<p>If you like this (or if you don&#8217;t!) please leave me a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Details (and link) about an Excel spreadsheet I developed to download Twitter user biographies, and up to 1200 tweets for any (unprotected) user.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[146,98,115],"tags":[147,154,153],"class_list":["post-447","post","type-post","status-publish","format-standard","hentry","category-programming","category-social-media","category-twitter","tag-excel","tag-programming","tag-twitter"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2c0fT-7d","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wobable.com\/index.php?rest_route=\/wp\/v2\/posts\/447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wobable.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wobable.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wobable.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wobable.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=447"}],"version-history":[{"count":6,"href":"https:\/\/wobable.com\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions"}],"predecessor-version":[{"id":455,"href":"https:\/\/wobable.com\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions\/455"}],"wp:attachment":[{"href":"https:\/\/wobable.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wobable.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wobable.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}