I found myself in need of an efficient way to download entire Twitter timelines to Excel in order to conduct a thematic analysis of Twitter topics for our research. I decided to share what I discovered. Here’s how to do it:
1. Go to http://twitter.com/statuses/user_timeline/userid.xml?count=x
2. Replace “userid” with your Twitter username
3. You’ll also need to replace the “x” at the end with your total number of tweets which can be found on your home page. This will download all of the tweets in your user timeline.
4. If you’d like to download your friend timeline (i.e., not just all of your tweets, but the tweets of everyone you are following), then replace “user_timeline” with “friends_timeline.”
5. A dialogue box will appear that will ask for your Twitter username and password. Once you’ve entered your username and password, you will have a page of output in xml format. Save this file by going to File->Save As in your browser. I recommend using FIrefox because Safari doesn’t do a good job of saving xml files.
Mac Users: Here’s the bad news, you will need to use Excel in windows in order to import this file. I was unable to find a way to get Mac Excel to import the xml file correctly. If you know how, please post in the comments.
6. Open a worksheet in Excel and click on Data->XML->Import then choose the file you saved during the previous step.
7. Excel will show a dialog box that reads “The specified XML source does not refer to a schema. Excel will create a schema based on the XML source data.” Click “OK”
8. Excel will then produce another dialogue box that asks where you want to put the data. Select “XML list in existing worksheet” and click “OK.”
9. Voila! You will now have an Excel file that contains all of your tweets. Because Twitter is by no means a static medium, you may want to download tweets from time to time. In order to download new Tweets since your last download, find the id# of the last Tweet you downloaded (should be the third column in your Excel file) and input it into the ID field of this url:
Update 10-26-09: Currently, Twitter will only return 200 tweets at a time. If you want to download more than 200 tweets, you can download them incrementally by “page” with the link: http://twitter.com/statuses/user_timeline/userid.xml?page=x (the most recent updates are on page “1”). This application downloads your user timeline automatically: http://johannburkard.de/blog/programming/java/backup-twitter-tweets-with-twitterbackup.html
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
- Maria Eulaica Floren Raya on About
- Chris on How to Export Twitter Updates to Excel
- Rey Junco on Student affairs professionals: Looking for social media examples for my book
- Josh Sarver on Student affairs professionals: Looking for social media examples for my book
- Jenna Condie on Student affairs professionals: Looking for social media examples for my book
Tagsacademic advising badges beginner cell phones college cyberbullying data digital divide digital media education engagement facebook featured game dynamics hackacad hashtag higher education infographic interview learning media methods Multitasking outcomes policy presentation privacy publications Research retention slides social media student affairs students survey sxsw teaching technology teens texting twitter university video youth
Follow this blog
Popular Search Terms
Recent Search Terms
- why student chat facebook
- effect of facebook on the academic performance of college students
- social media and affects on education
- using facebook in college courses
- how much time does an average college student spend texting
- research paper on social media effects attention span of students pdf
- junco r merson d salter d w (2010)
- how many minutes a day do college students spend on facebook
- academic performance vs time spent on social media
- questions to students about the media & networking