Description: This template automates the process of liking the first three posts on Twitter / X using Uxer’s powerful automation features. It opens Chrome, scrolls through the homepage, and automatically likes the first three posts.
How to Use It:
- Copy and paste the template into Uxer’s scenario builder.
- Modify the scroll values if needed to suit your screen size.
- Save it and run the scenario to automate the liking process on your Twitter homepage.
In the video you will learn how to teach this automation to your personalized agent in addition.
Step-by-Step Process:
-
Open Chrome and Navigate to Twitter / X.com:
The scenario opens Chrome and navigates tox.com
. Incognito mode is disabled so you remain logged in, assuming you’re already logged in to your Twitter account.OpenBrowser Chrome "x.com" -Incognito false
-
Verify User Profile Visibility:
The scenario checks for the visibility of the “Profile” text to ensure the page has fully loaded and that you’re logged in.IsVisible Text "Profile"
-
Like the First Three Posts:
The next step involves scrolling until the like button of each post becomes visible, and clicking to like it. This process is repeated three times to like the first three posts on your feed.Scroll 3 -UntilVisible Image {ux_xcom_like} Click Image {ux_xcom_like} Scroll 3 -UntilVisible Image {ux_xcom_like} Click Image {ux_xcom_like} Scroll 3 -UntilVisible Image {ux_xcom_like} Click Image {ux_xcom_like}
You can modify the scroll value “3” based on how much scrolling is needed on your screen to bring the like button into view. Adjusting this allows the script to better match your device’s behavior.
Here is the complete script:
OpenBrowser Chrome "x.com" -Incognito false
IsVisible Text "Profile"
Scroll 3 -UntilVisible Image {ux_xcom_like}
Click Image {ux_xcom_like}
Scroll 3 -UntilVisible Image {ux_xcom_like}
Click Image {ux_xcom_like}
Scroll 3 -UntilVisible Image {ux_xcom_like}
Click Image {ux_xcom_like}
Let us know if you have any other use cases in the comments!