Supermetrics Support Forum

How to Authenticate/Re-authenticate Twitter Public Data in Google Sheets, Google Data Studio & Microsoft Excel

This guide gives instructions on how to successfully authenticate Twitter Public Data.  


Quick links to specific sections: 

Google Sheets

Data Studio

Excel

"If everything fails..." 

Data Source Access Requirements:

The Twitter Public Data connector does not work in the same way as the other Twitter connectors, as you don't need to log in. Therefore, no special access requirements are required for this data source. It allows you to collect publicly available data about page and page posts.


Authenticating with Google Sheets

To authenticate Twitter Public Data in Google Sheets, please do the following steps:

1. Open up the Supermetrics sidebar in your Google Sheets.

2. Select Twitter Public Data in the sidebar, under data source. 

3. Select the query type between: 

  • Twitter tweets by keyword - allows you to pull the latest X tweets that contain certain keywords
  • Twitter user data - gathers data about specific user names, such as Followers count, Tweet count, location of user, etc.
  • Twitter user tweets - gathers data about specific tweets the user made, as well as retweet and reply data.

4. You have completed all the steps of authentication. To learn other functionalities of Twitter Public Data, please see this guide

Re-authenticating with Google Sheets:

To re-authenticate Twitter Public Data in Google Sheets, please go to this guide.


Authenticating with Data Studio:

To authenticate Twitter Public Data in Google Data Studio, please do the following steps:

1. Click on create a new data source.

2. Search for Twitter Public Data by Supermetrics and click on Select when selecting it.

3. Click on the link below to authenticate your account. 

With this link, you can also add more business accounts.

4. Click on Ok, let's continue to continue with that account. If you wish to select another account, click on Add Twitter Public Data user account to log into a different account.


If your Data Studio account belongs to multiple teams, you will see the option to select the team you wish to use. Go to the link below and select the team name with your license to proceed. (If you only belong to one team, skip to the next step).

5. Select the query type to proceed and click on next.


  • Twitter tweets by keyword - allows you to pull the latest X tweets that contain certain keywords
  • Twitter user data - gathers data about specific user names, such as Followers count, Tweet count, location of user, etc.
  • Twitter user tweets - gathers data about specific tweets the user made, as well as retweet and reply data.

6. Click on connect on the upper right side.

7. It will then take you to the field list. By default, you don't need to do anything else. Click on create report to proceed.

To learn other functionalities of Twitter Public Data, please see this guide.

Re-authenticating with Data Studio:

To re-authenticate Twitter Public Data in Data Studio, please go to this guide.

Authenticating with Excel:

To authenticate Twitter Public Data in Excel, please do the following steps:

1. Click on data and open up the Supermetrics sidebar in Excel.

2. Select Twitter Public Data in the sidebar under data source.

3. An automatic popup will open up, click on start.

4. Select the query type to proceed.


  • Twitter tweets by keyword - allows you to pull the latest X tweets that contain certain keywords
  • Twitter user data - gathers data about specific user names, such as Followers count, Tweet count, location of user, etc.

Twitter user tweets- gathers data about specific tweets the user made, as well as retweet and reply data.

5. You have completed all the steps. Now you can go back to the sidebar and see your Twitter Public Data account. 

Re-authenticating with Excel:

To re-authenticate Twitter Public Data in Excel, please go to this guide.

"If everything fails..." 

Common errors:

If you encounter any of the following errors below, please see the guide linked after the error message.


For Twitter Public Data only

  • Error: "Profile(s) not found", please see this guide
  • Error: "Page name is correct but still get no data", please see this guide

Common errors

  • Error: "This was a reauthorization request for user X but logged in as user Y", please see this guide
  • Error: "You're not allowed to run queries with this license #12345. This is because you have not been assigned to the license as a valid user." please see this guide.
  • Error: "This action is not supported when you are signed into multiple accounts". please see this guide.
  • If you no longer see a specific account/page/etc. when logging in, please see this guide
  • If you haven't managed to authenticate you might be affected by an issue at Google account management. For more information, please see this guide.

Forcing a refresh per account data & removing a data source:

To force a refresh per data source, please see this guide.

To remove a data source from Google Sheets, please see this guide.

To remove a data source from Data Studio, please see this guide.

To remove a data source from Excel, please see this guide.

Refreshing tokens 

As a final step, if you wish your tokens to be refreshed, please create a support ticket.



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.