Twitter: How to archive event hashtags and create an interactive visualization of the conversation

Published on November 7, 2011 at 8:25 am in Google, Google Apps, Google Spreadsheet, TAGSExplorer, Twitter and Visualisation. 126 Comments By Martin Hawksey Tags: #TAGSExplorer.
Share this post on:
| Facebook | Twitter | LinkedIn

The use of Twitter to collecting tweets around an event hashtag allowing participants to share and contribute continues to grow and has even become part of mass media events, various TV shows now having and publicising their own tag. This resource is often lost in time, only tiny snippets being captured in blog posts or summaries using tools like Storify, which often loose the richness of individual conversations between participants.

It doesn’t have to be this way. Using a combination of Google Spreadsheets as a data source and a simple web interface to add interactivity it’s possible to let users explorer your entire event hashtag and replay any of conversations.

spacer
View example conversation replay

Try out a LIVE version

Update: If you are still struggling to understand the concept Radical Punch have done a overview of this tool

Here’s how to archive event hashtags and create an interactive visualization of the conversation (written instructions below):


Twitter: How to archive event hashtags and create an interactive visualization of the conversation

Capturing the tweets

Use this Google Spreadsheet template.

For more reliable data collection it’s recommended that you follow the steps to get authenticated API access to Twitter search results and setup a ‘script trigger’ to automate collection. Here are instructions on how to do it:

  1. Open the TAGS Google Spreadsheet making a copy
  2. Register for an API key with Twitter at dev.twitter.com/apps/new. In the form these are the important bits:
    • Application Website = anything you like
    • Application Type = Browser
    • Callback URL = https://spreadsheets.google.com/macros
    • Default Access type = Read-only
  3. Once finished filling in the form and accepting Twitter’s terms and conditions you’ll see a summary page which includes a Consumer Key and Consumer Secret
  4. Back in the Google Spreadsheet select Twitter > API Authentication (you’ll need to select this option twice, the first time to authorise read/write access to the spreadsheet). Paste in your Consumer Key and Secret from the previous step and click ‘Save’ (if the Twitter menu is not visible click on the blue button to show it)
  5. From the spreadsheet select Tools > Script Editor … and then Run > authenticate and Authorize the script with Twitter using your Twitter account
  6. While still in the Script Editor window select Triggers > Current script’s triggers… and Add a new trigger. Select to run ‘collectTweets’ as a ‘Time-driven’ choosing a time period that suits your search (I usually collect 1500 tweets once a day, but increase to hourly during busy periods eg during a conference). Click ‘Save’spacer
  7. Now close the Script Editor window. Back in the main spreadsheet on the Readme/Settings sheet enter the following settings (starting in cell B9):
    • Who are you = any web address that identifies you or your event
    • Search term = what you are looking for eg #jiscel11
    • Period = default
    • No. results = 1500 (this is the maximum Twitter allows)
    • Continuous/paged = continuous
  8. Click TAGS > Run Now! to check you are collecting results into a ‘Archive’ sheet
  9. To allow the results to be visualised from the spreadsheet select File > Publish to the web… You can choose to Publish All sheets or just the  Archive sheet. Make sure Automatically republish when changes are made is ticked and click Start publishing

Creating a public interactive visualisation of the archived tweets

  1. Copy the url of the spreadsheet you just created
  2. Visit hawksey.info/tagsexplorer and paste your spreadsheet url in the box, then click ‘get sheet names’
  3. When it loads the sheet names leave it on the default ‘Archive’ and click ‘go’
  4. You now have a visualisation of your spreadsheet archive (click on nodes to delve deeper)
  5. To share the visualisation at the top right-click ‘link for this’ which is a permanent link (as your archive grows and the spreadsheet is republished this visualisation will automatically grow)


Last updated by Martin Hawksey at .

Share this post on:
| Facebook | Twitter | LinkedIn

126 Responses to “Twitter: How to archive event hashtags and create an interactive visualization of the conversation”

Feed for this Entry Trackback Address

« Previous 1 2
  • spacer Jenni
    May 15, 2012 at 6:31 am

    Martin,
    Thanks so much – this is the best tweet-archiving tool I have managed to find! You’ve saved my research project! Will be recommending this one for sure!

    Regards,
    Jenni

    Reply
  • #nlsled: amplifying and curating an event at Danegeld
    Pingback on May 21st, 2012 at 2:10 pm
  • TAGSExplorer Interactive « SOCIAL NETWORK ANALYSIS & SEMANTIC NETWORK ANALYSIS
    Pingback on Jun 1st, 2012 at 12:28 pm
  • #heasocsci: social media and social sciences at Danegeld
    Pingback on Jun 6th, 2012 at 1:59 pm
  • TAGSExplorer - The best tool for archiving Twitter event hashtags
    Pingback on Jun 14th, 2012 at 1:58 pm
  • spacer pooja
    June 18, 2012 at 6:59 am

    sir, if I have to specify multiple tags do I need to obtain multiple keys?
    secondly is there a way this tool can help me to obtain only retweets/ replies to a a particular tweet containing hashtag

    Reply
  • spacer pooja
    June 19, 2012 at 4:21 am

    sir,
    the tool is perhaps the first integrated one. i have one doubt whether we can specify multiple tags, secondly can we have multiple sheets archived corresponding to multiple tags data. if yes where can we see them.

    Reply
  • spacer pooja
    June 21, 2012 at 7:12 am

    can we import the spreadsheet to nodexl.if yes, how??

    Reply
  • spacer Mark Braggins
    June 25, 2012 at 8:50 am

    Hi Martin, this is fantastic and I’ve used it a bunch of times for events. Thanks very much for sharing a brilliant tool.

    I’m struggling to make complex search terms work. Could you possibly share some examples?

    In point 3 of the instructions you say “You can control the type of data returned by changing the column heading” – sorry for me being slow, but I can’t see where to change the column heading. Can you advise please? Thanks very much for your help.

    Reply
  • AAUP12 Twitter feed (partial) archive « The Digital Digest
    Pingback on Jun 27th, 2012 at 5:32 pm
  • A way to archive and display Twitter hashtag chats JISC CETIS MASHe
    Pingback on Jul 12th, 2012 at 1:29 pm
  • Tweet Analysis || by AnalyticSight :: AnalyticSight
    Pingback on Jul 16th, 2012 at 8:01 pm
  • spacer Al
    August 2, 2012 at 1:29 pm

    Hi,

    Thanks for making this guide!

    I started making a collection but it seems that the script soon fills the spreadsheet, exceeding maximum cell count. At the same time, data in ‘Archive’ seems to get lost (or at least FX is not displaying anything in the window).

    What would you recommend in terms of long-term archiving, should I just start creating manually copies of the original file for real archives and manually clear out stuff from the ‘Archive’ sheet?

    Al

    Reply