Using TAGS to pull data from Twitter (Thanks @mhawksey)

I’ve been using Martin Hawksey’s TAGS to collect twitter data recently. The collected tweets will be used during coding practice in Computer Mediated Discourse Analysis (CMDA). In case you need to do something similar, the steps taken to collect the Twitter data are as follows:

1. First navigate to the TAGS website:

2. Click Get Tags, Click TAGS (New Sheets), which opens a Google Sheet that looks like this:

Screen Shot 2015-07-31 at 5.58.21 PM

3. Once the Google Sheet is open, click on File and select Make a Copy.

Screen Shot 2015-07-31 at 6.01.19 PM

4. Save the copy with a new file name.

5. In the section of the form titled instructions, add the search term to line number 4. The search term should be a hashtag. (i.e. #edchat)

6. After your copy has been made open TAGS > Setup Twitter Access and follow the onscreen instructions (when selecting this option you’ll be promoted to authorize the script to run several services).

7. On the menu bar, find TAGS, and from the drop down menu choose Run Now!

Screen Shot 2015-07-31 at 6.18.28 PM8. While the script is running a message will appear over the tool bar that says Running Script. Upon completion, the message will read Finished script.

Screen Shot 2015-07-31 at 6.23.51 PM

9. Once the script has run the second tab in the sheet will contain the tweets scraped from Twitter.

Screen Shot 2015-07-31 at 6.25.41 PM

10. Select the Archive tab to view the scraped tweets. The first time you run TAGS it can only collect data from the most recent 7 days, however, if you leave the sheet connected to your twitter account then you can “Run Now!” again at a later date and have the sheet fill in the tweets since it was last run.

Screen Shot 2015-07-31 at 6.25.50 PM

Leave a Reply

Your email address will not be published. Required fields are marked *