Automate Liking the Latest Posts for Any Hashtag on Twitter/X

Description:
This scenario automates the process of searching for any specific hashtag (e.g., “AI Automation”) on Twitter/X, finding the latest posts, and liking them using Uxer’s automation capabilities. It opens Chrome, searches for the given hashtag, and scrolls through posts to like several under the “Latest” tab.

How to Use It:

  1. Copy and paste this template into Uxer’s scenario builder.
  2. Ensure that you are logged into X in Chrome before running the scenario.
  3. Save and run the scenario to automate liking the latest posts related to any hashtag.

Step-by-Step Process:

  1. Open Chrome and Navigate to Twitter/X:
    The scenario opens Chrome and navigates to x.com, with incognito mode disabled so that you remain logged into your account.

    OpenBrowser Chrome "https://x.com" -Incognito false
    
  2. Search for a Specific Hashtag (e.g., AI Automation):
    The script clicks on the search bar, writes the specified hashtag (e.g., “AI Automation”), and hits Enter to begin the search.

    Click Text "Search"
    Write "AI Automation"
    SendKeys ENTER
    
  3. Select the “Latest” Tab to View Recent Posts:
    The scenario clicks the “Latest” tab to show the most recent posts for the selected hashtag.

    Click Text "Latest"
    
  4. Scroll and Like Posts:
    The script scrolls through posts, liking visible posts. It repeats this process three times to like multiple posts.

    Scroll 5 -UntilVisible Image {ux_xcom_like}
    Click Image {ux_xcom_like}
    Scroll 5 -UntilVisible Image {ux_xcom_like}
    Click Image {ux_xcom_like}
    Scroll 5 -UntilVisible Image {ux_xcom_like}
    Click Image {ux_xcom_like}
    

Complete Script:

OpenBrowser Chrome "https://x.com" -Incognito false
Click Text "Search"
Write "AI Automation"
SendKeys ENTER
Click Text "Latest"
Scroll 5 -UntilVisible Image {ux_xcom_like}
Click Image {ux_xcom_like}
Scroll 5 -UntilVisible Image {ux_xcom_like}
Click Image {ux_xcom_like}
Scroll 5 -UntilVisible Image {ux_xcom_like}
Click Image {ux_xcom_like}

Let us know if you need further assistance or more use cases!