Extract recent posts from a Twitter hashtags

Get a list of recent tweets published under a specified hashtag. The Twitter algorithm sorts the posts based on hashtags. People even follow hashtags, which makes Twitter, an ideal platform for lead generation based on hashtags. Use this spice to scrape posts from hashtags that your target audience follows or participates in.

Here are some usecases/applications of using this automation:

  1. Hashtags seem to be the bread & butter of Twitter. When you extract posts published under specific hashtags, you not only discover people interested in hashtags that you too are interested in, but you also find the intent of people with the posts. That’s the motive of this automation. To help you find interested people who’re flocking around a specific hashtag(s) that even you’re targeting.
  2. Maybe you’re curating content for your newsletter around specific hashtags or simply want to research the content created on a regular basis around your target hashtag. This automation can be helpful for that as well.

How to scrape recent posts from Twitter hashtags?

Hashtags are the primary input for this spice. You can create a list of hashtags in a CSV or Google sheet to scrape recent posts from.

Here are the steps to use this spice:

  1. Create a free TexAu account here
  2. Enter the Hashtag & max count in the respective fields. If you have a list of hashtags you want to scrape recent posts from, create a CSV or Google sheet and link it in the steps shown below.
  3. Click on “Extract Tweets” to run the automation immediately or click on “Schedule this spice” to run the automation as and when required.

Limitations & important points to note

  1. You can scrape 25 most recent tweets. However, you will have to keep in mind your daily limit. Find those details here.
  2. If you’re using the web version, make sure you toggle the ‘Use Proxy button’. This will require you to add a proxy to your account. If you use the TexAu Desktop app, you don’t have to worry about purchasing a proxy or even setting one.

Understanding the whole execution of this spice

Here we will see the steps of the execution & the inputs required for this spice.

The whole execution will play around these 5 input points & the total time to execute this will be around 1-2 minutes, depending on the number of hashtags you want to scrape tweets from.

Here’s what each of the input points means:

Extract Recent Posts from a Twitter Hashtag Automation
  1. Hashtag: Mention the hashtags you want to scrape the most recent tweets from. You can create a list of hashtags and use them in step 3.
  2. Max count: Specify the number of posts you want to scrape from hashtags.
  3. Upload a CSV or Link a Google Sheet: Here you can upload a CSV or link a Google sheet. There are some extra steps here & we will cover them in the next section
  4. Extract tweets: Clicking on this button will immediately start the execution
  5. Schedule this spice: You can choose to schedule this spice for later

How to scrape tweets from Twitter hashtags?

  1. Once your account is set up and you have completed the onboarding, visit the Spice page in the app. TexAu acts on your behalf on Twitter to run this automation.
  2. TexAu is the safest automation platform on the web, it uses your Twitter session cookie to authenticate as you to run this automation. We never ask for your login credentials.
  3. To make filling session cookies easier, you can use the TexAu Chrome extension. This process only requires 2 clicks.
  4. Download TexAu Extension for Chrome here: TexAu Chrome Extension [Used and loved by over 4000+ customers]
  5. Refresh your automation page and click on the Get Cookie button. Make sure you’re logged in to your Twitter account & the activated chrome extension will do the job.
  6. In case if you are not using Google Chrome, check this guide on how to get cookies manually from your browser. We are working hard to bring our extension to all the major browsers very soon.

Step 2: Upload the CSV or paste Google sheet URL (only if you have multiple hashtags)

If you have a CSV, simply upload it from your PC. If you have a Google Sheet, there are some extra steps.

  • First, paste the Google sheet’s URL.
  • Either get the session cookie or use our chrome extension to do it with the click of a button.
  • Input the column containing the hashtags. Make sure you choose the right column for successful execution.
Google Sheet containing Twitter hashtags

For the final touch, make sure you have set the sheet as public (as shown below) so the TexAu can access it.

Step 3: Start execution or schedule the automation

Clicking on the Extract tweets button will immediately start the execution. Based on the number of Hashtags, the execution time will vary.

Scheduling the automation will give you additional points to control the execution. You can choose specific days of the week or month, specific times daily. You can even set a specific start & end time of the execution.

The advantage of automating the whole process is that you don’t have to actively sit in front of your PC while TexAu does its job.

Step 4: Download execution results to your local PC

Once you click on the Extract tweets button, the execution will begin and then you will see the following message in the execution log.

Recent posts from twitter hashtag automation completed

Once you see, click on the ‘Result’ button where you can view your results & download the result as a CSV file as shown below.

Download Recent posts using Twitter Hashtags automation

Note: Alternatively you can download results from the Results menu on the left-hand navigation, just hover over the menu & click on Results as shown below:

That’s all you need to scrape the most recent posts on Twitter hashtags.

  1. How to use CSV with TexAu Automation
  2. How to use Google Sheet with TexAu Automation
  3. How to schedule a TexAu Automation

In case if you have any questions related to this spice or anything related to TexAU, just drop us a message and we will get back in 10 minutes 🙂