Analytics for Twitter 2013

Analytics for Twitter 2013

Analytics for Twitter 2013 (version 1.2) is now available for download at http://extendedresults.com/products/twitteranalytics/ 
This version has been enhanced to utilize twitter's version 1.1 api for downloading user profile images and was built for Office 2013 with PowerView.

As a reminder, you can download the Office 2010 version of Analytics for Twitter here.


Analytics for Twitter 2013 

Analytics for Twitter enables you to create tweet dashboards inside Microsoft® Office Excel 2013 by searching on any combination of terms including #hashtags, @user mentions, and keywords.  The workbook comes with several sheets that provide valuable insight into the search terms and are an easy way create your own customized Twitter analytics.

Sheet Overview 

• Topics – identify key topics and mentions, frequency of tweets by time of day, and top tweeters.
• People – insight into the key tweeters for your search queries including mentions and retweets.
• Tweet Map – a map of where are your tweeters are located and a distribution of when they tweeted.
• Mentions – the most talked about tweeters for your search terms.
• Tweeter Profiles – explore details about tweeters and the most talked about tweeters for your search terms.
• Details – dive into every tweet, filtering on key items. 

Quick Start Guide

  1. Open the “Analytics for Twitter 2013.xlsx” file on your desktop.
  2. Click the “Analytics for Twitter” tab in the ribbon.
  3. Click the “New Query” button in the “Analytics for Twitter” tab.
  4. In the authorization dialog enter your Twitter credentials and click “Authorize app” to generate a PIN.
  5. Enter the generated PIN in the field at the bottom of the authorization dialog and click “Authorize.”
  6. In the search dialog enter a maximum of five comma delimited searches. See the Twitter Search Query Syntax section below for more information on the search syntax. For more control over your search options use the steps outlined in the Advanced Search section below.
  7. Click the Search button to begin gathering tweets for analytics.  

Note: During the searching process if your search queries return too many results in a short amount of time you may have to wait a few minutes before Twitter will provide you more tweets. Analytics for Twitter will automatically continue gathering tweets after this waiting period, but if you don’t want to wait click the “Stop & Process Now” button to generate the reports with the tweets you already have. 

  1. Once your queries have been processed switch to the "Summary" worksheet (if you aren't already there). Click the DATA tab in the ribbon and click the Refresh All button. This will refresh the data model and build your new reports.
  2. Save a copy of your Excel workbook so you can add new tweets at a later time.
  3. When you are ready to add more tweets to your existing query click the “Refresh Query” button.

  

Advanced Search

To fully harness the power of Analytics for Twitter we recommend using advanced search. By specifying a small amount of search information such as location, type of tweets, and language you can generate a much more targeted analysis of Twitter. In advanced search each of your five queries use their own configuration enabling you to compare the same query in different areas or languages.

  1. Follow steps 1-6 in the Quick Start Guide above to set up and authorize Analytics for Twitter 2013.
  2. While in the basic search dialog click “Use advanced search” to switch to advanced search mode.
  3. In advanced search each query has its own configuration tab. Click the “Add Query” tab at the top to add up to five separate queries and configurations.
  4. Enter your search query in the “What are you searching for” field. You can use all of the standard Twitter query syntax.
  5. Give your query a, short, friendly name by entering it in the “What should we call this search” field. This name is used in the report slicers.
  6. Enter a geocode and distance in the “Near where should we search” field. The format is “Latitude, Longitude, Distance” (without the quotes) so a hundred mile radius around Redmond, Washington would be “47.677019, -122.130900, 100mi.” You can use “mi” and “km” for distance units.  

Note: A very easy way to get a geocode for a given location is to search for it on bing maps. If you right click on the map it will give you the latitude and longitude for the clicked location. 

  1. Choose recent, popular, or mixed in the “Which type of tweets you want to search” drop down.
  2. If you only want results from a given language choose it in the “Which language do you want results in” drop down.
  3. If you want to limit the results to a specific locale chose it from the “Which locale you want tweets from” drop down.
  4. Follow steps 7-10 in the Quick Start Guide to finish your search.

  

Twitter Search Query Syntax

Analytics for Twitter has been designed to support up to five concurrent search queries on #hashtags, @mentions, keywords and Tweeters.  The search operators' syntax follows Twitter Search syntax. For more information see Twitter’s documentation on advanced searches.  The following examples outline several sample search scenarios. 

Searching Hashtags

•   #microsoft, #msbi, #sql, #sqlserver, #powerpivot

•   #microsoft AND #bi, #sql OR #sqlserver  

Searching Mentions

•   @microsoft, @microsoftbi, @powerpivot

•   @microsoft AND @bi, @sql OR @sqlserver 

Searching Keywords (i.e. freeform text search)

•   microsoft, powerpivot, excel

•   excel AND bi, powerpivot or sql  

Tweeters

•   from:MicrosoftBITV, from:MicrosoftBI

•   from:MicrosoftBITV OR  from:MicrosoftBI  

Combo Search

•   #msbi, @microsoftbi, MicrosoftBI, from:MicrosoftBI

•   #msbi AND @microsoftbi, MicrosoftBI OR from:MicrosoftBI 

 

Troubleshooting Silverlight and PowerView

When you open the Analytics for Twitter workbook it will prompt you to install the Silverlight Plugin if it is not present on your system. If the Silverlight Plugin fails to load or install properly while you are in Excel it will keep prompting you to install the plugin. To troubleshoot this problem follow the following steps.

Verifying Silverlight Plugin Installation

  1. Close all open Excel workbooks.
  2. Open Internet Explorer and connect to http://www.microsoft.com/silverlight/case-studies/ This page should load the Silverlight Plugin. If the page fails to load properly you will need to reinstall the Silverlight Plugin from http://www.microsoft.com/silverlight/ while using Internet Explorer. Ensure that the Silverlight Plugin loads properly before continuing.
  3. Open Excel 2013 and create a blank workbook.
  4. Click the INSERT tab in the ribbon and then click the PowerView button to insert a blank PowerView report. This will load the Silverlight Plugin and create a blank PowerView report. If PowerView loads properly try opening the Analytics for Twitter workbook. If PowerView doesn't load properly try disabling and enabling the PowerView Add-In by following the steps below.

Disabling and Enabling the PowerView Add-In

  1. In Excel 2013 click the FILE tab in the ribbon and select Options to bring up the Excel Options dialog.
  2. In the Excel Options dialog click Add-Ins to manage your Add-Ins.
  3. At the bottom of the Manage Add-Ins pane click the Manage drop down to select "Com Add-ins" and click Go...
  4. In the COM Add-Ins dialog verify that there is only one entry for Power View and that the Analytics for Twitter Add-In is enabled.
  5. Deselect the check box next to Power View.
  6. Click OK to close the COM Add-Ins dialog then close all open Excel workbooks.
  7. Open Excel 2013 and create a blank workbook.
  8. Follow steps 1-4 above to open the COM Add-Ins dialog
  9. Click the checkbox next to Power View to enable the Add-In.
  10. Click OK to close the COM Add-Ins dialog then close all open Excel workbooks.
  11. Open Analytics for Twitter by launching the shortcut on your desktop.

 

Revision History 

Version 1.2 (July/2013) 
Improved exception handling for when Twitter servers are over loaded and returns an Over Capacity error during the query and data refresh processes. 
Updated to Twitter API v1.1 call for downloading user profile images.
Added additional devices and apps to meta data table.

Version 1.1 (April/2013) 
Updated exception handling for errors during the query and data refresh processes. Includes updated rate limit processing and mitigation of incomplete or corrupted tweet data. Added a check to ensure tweet data does not exceed excel table row limitations.

Known Issues

  • Microsoft Office 2013 or greater needs to be installed for this installation to continue: To ensure that Analytics for Twitter functions properly the installer checks for the presence of the "Office15" folder up to five folders deep in your "Program Files" or "Program Files (x86) directories. If you have installed Office 2013 in a non-traditional folder a work around is to create an "Office15" folder in your "Program Files (x86)" folder.
  • Reports do not automatically refresh after searching or refreshing tweets: This is a known issue and we are working with Microsoft to enable this feature in the near future. To work around this issue first switch to the "Summary" worksheet. On the DATA tab in the ribbon click the "Refresh All" button. This will manually refresh the data model and rebuild the reports.
  • Silverlight fails to load in Excel if it was installed within a third party browser and not Internet Explorer: If you used a third party browser such as Mozilla Firefox or Google Chrome the Silverlight Plugin may not install properly. Try installing Silverlight by browsing to http://www.microsoft.com/silverlight/ with Internet Explorer.
  • Blank data in PowerView reports: If you run into problems with your PowerView reports a good first step is to try refreshing your data. On the POWER VIEW tab in Excel, click “Refresh.”
  • Exception occurred while searching: #term  Please verify your search query: Do to some changes in information returned with query results Analytics for Twitter was no longer properly determining if the user could receive more tweets. This was causing an exception to be thrown during the query process. We are actively developing a workaround to this unforeseen change.
  • Circular Dependency was Detected: If your query fails during processing exit Excel and try your query again. This is a known issue with table processing.
  • Unresponsive PowerView reports after a new query or data refresh: If your PowerView report sheets do not load and only show a waiting spinner after a new query or data refresh you need to close and reopen the Analytics for Twitter workbook. After reopening the workbook switch to a PowerView report sheet, wait for it to load normally, and then perform your new query or data refresh while the PowerView report sheet is still open.      
  • Location filters do not work as expected: Currently the tweet map uses the user specified location field from their profile. This is because presently there are very few geocoded tweets. If you want to use geocoded tweets you can build your own report by using the latitude and longitude fields in tblTweets.
Leave a Comment
  • Please add 7 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • alwral edited Revision 13. Comment: I download it and start using it , but please tell me how can i get all tweets from specific location (such as: cairo city), I tried to leave Query name empty and enter Geocode for cairo city but it doesnt work , also when I enter any query name and enter geocode of Cairo City it return tweets from another location)

  • Drew Bregel [Extended Results] edited Revision 12. Comment: updated known issues for #term exception during query.  

  • Richard Mueller edited Revision 11. Comment: Added tags

Page 1 of 1 (3 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Nice post

  • muy util gracias

  • Looking forward to trying the 2013 version.  Is it expected to be available for download soon?

    Thanks

  • I've been working with the new version.  It looks like a great tool.  One question -- is it possible to change the data range for the Date Slicer?

  • Richard Mueller edited Revision 11. Comment: Added tags

  • Carla on which report do you want to change the date range? We don't have much control over which date ranges are returned from twitter, but you should be able to choose a subset from that range. Feel free to get in touch with me. My email is my first name at Extendedresults.com

  • Hello ER, your Tool seems to be very powerful, it often fails at importing new Tweets for methough.

    "An exception occured while searching ... please verify your search query ..." This also happens when I refresh the default sheets tweets.

    If I can assist you finding the error, don't hesitate to contance me.

    Regards!

  • I'm getting an "exception occurred while searching: #term  Please verify your search query...."  This happens for all terms I use.

  • Cyruss & Patrick. It looks like there has been some changes to information returned with the query which has caused this issue. We have identified a solution and are working on an updated build. If either of you are interested in doing some beta testing get in touch with me via email. I'll be sure to make an announcement when it is released.

  • Drew Bregel [Extended Results] edited Revision 12. Comment: updated known issues for #term exception during query.  

  • How do you export this PowerPivot model to an SSAS 2012 Tabular Instance? I tried but it doesn't seem to work.  I also tried to restored from workbook and it doesn't work.  

  • why not put this in the cloud and create a tabular SSAS database out of the data and schedule a periodic refresh? this example is very slow on my desktop with 16 GB of RAM and running Excel 2013 64 bit.

    this doesn't install on windows 2012 server that has office 2013 (Windows Azure VM).

  • alwral edited Revision 13. Comment: I download it and start using it , but please tell me how can i get all tweets from specific location (such as: cairo city), I tried to leave Query name empty and enter Geocode for cairo city but it doesnt work , also when I enter any query name and enter geocode of Cairo City it return tweets from another location)

  • thanx for this article , I download it and start using it , but please tell me how can i get all tweets from specific location (such as: cairo city), I tried to leave Query name empty and enter Geocode for cairo city but it doesnt work , also when I enter any query name and enter geocode of Cairo City it return tweets from another location)

  • Binh: Here's how we have been using full Analysis Server with our Analytics for Twitter PowerPivot model.

    First publish your populated Analytics for Twitter.xlsx to a PowerPivot Gallery.

    In SQL Management Studio connect to that model by selecting Analysis Services and use the full URL for the xlsx file you posted to your PowerPivot Gallery. Once connected to the PowerPivot model, right click on the database and select backup. This will create the .abf file you will restore to your tabular instance.

    While in SQL Management Studio Connect to your tabular Analysis Services SQL Server. Right click on databases and select restore. Use the .abf file to restore.

    Note: This workflow isn't designed for easy refreshing of data, but rather to utilize the performance improvements of hosting on SQL. You will also need appropriate permission levels to be able to backup and restore process.  

    As for your other platform suggestions we agree that Analytics for Twitter is a great idea for a full featured server/cloud application/service. If this is something your business is interested in please get in touch.

    Try following the steps in known issues for installation troubles. You may need to create an Office 15 folder.

Page 1 of 2 (21 items) 12