Twitter automation using Selenium

Joined
Aug 31, 2023
Messages
5
Reaction score
1
Hi, as the twitter API is useless now we can't request anything without paying

I was wondering If I can use selenium to do some daily automation tasks such as following new account, liking posts, replying etc.

I heard they ban if they detect automation tool, anyone experienced a ban ?
 
I believe you can still use the api for free but they limit things to like 1500 tweets a day
 
I think you should be able to automate such a task with selenium without detection . I think there is a similar post with method hanging somewhere around here.
 
I think you should be able to automate such a task with selenium without detection . I think there is a similar post with method hanging somewhere around here.
I'll start coding it, I will go with Java and do an update, we'll see where it goes
 
I will also be looking at twitter automation soon.
 
I'll start coding it, I will go with Java and do an update, we'll see where it goes
Yeah I think it would be better to try it out with a programming langauge you are much more comforatble with. I would of used python be I intended to do so.
 
Hi, as the twitter API is useless now we can't request anything without paying

I was wondering If I can use selenium to do some daily automation tasks such as following new account, liking posts, replying etc.

I heard they ban if they detect automation tool, anyone experienced a ban ?

base Selenium is easy to detect. I'm sure twitter will detect it, although if you are not doing anything too crazy with it, I doubt they care.

If you want to be a bit more cautious you can use something like:
https://github.com/ultrafunkamsterdam/undetected-chromedriver/
Which aims to be undetectable. Although you will need to use python. Or you could probably port the changes they make to java if you wish to go that route
 
base Selenium is easy to detect. I'm sure twitter will detect it, although if you are not doing anything too crazy with it, I doubt they care.

If you want to be a bit more cautious you can use something like:
https://github.com/ultrafunkamsterdam/undetected-chromedriver/
Which aims to be undetectable. Although you will need to use python. Or you could probably port the changes they make to java if you wish to go that route
Thanks, I found similar one in Java https://github.com/mabinogi233/UndetectedChromedriver

So I did some test:
- connect to twitter
- login using username and password
- like posts from the main page
- like posts from the "following" tab

I added random delay between each action
Next I will try more actions (reply, follow, dm, create a poste)
 
The free one should still be largely available for use, just with some limitations introduced. You should be able to find details of that on their site or something.
 
Back
Top