Interested In A Twitter Tweet Bot Imacros?

WORK@HOME

Senior Member
Joined
Apr 25, 2013
Messages
1,013
Reaction score
479
Alot of Twitter talk on here... I personally can't make a half penny on Twitter, but if there is a interest in a Imacros Twitter bot, I'll make it and update this thread.

Here's the Imacros:

VERSION BUILD=9030808 RECORDER=FX
SET !DATASOURCE twitterbot.txt
SET !DATASOURCE_LINE {{!LOOP}}
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(3)>UL>LI:nth-of-type(2)>BUTTON" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(23)>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(4)>FORM>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV" CHARS={{!COL1}}
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(23)>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(4)>FORM>DIV:nth-of-type(3)>DIV:nth-of-type(2)>BUTTON" BUTTON=0

Go to Windows Start menu. Click Documents - iMacros - Datasources - create a file called "twitterbot"

Go to twitter front page www.twitter.com and run with loop set to 999999

Put your tweets in the "twitterbot" folder and let it run.

Enjoy
 
Last edited:
To clarify, you will load a file with your tweets so It's up to you to generate tweets.
 
OK kool..... I'll throw one together.
 
Just updated it.... Let me know if it worked.
 
It'd be awesome if you could update this to automatically login an account, post a tweet, logout, wait for a random 3-10 seconds, logon to another account and repeat the drill. Possible?
 
It'd be awesome if you could update this to automatically login an account, post a tweet, logout, wait for a random 3-10 seconds, logon to another account and repeat the drill. Possible?

I could give it a try...
 
OK.... Here's what I got

VERSION BUILD=9030808 RECORDER=FX
SET !DATASOURCE twitterusername.txt
SET !DATASOURCE_LINE {{!LOOP}}
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
URL GOTO=https://twitter.com/
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>A:nth-of-type(3)" BUTTON=0
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>FORM>FIELDSET>DIV>INPUT" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>FORM>FIELDSET>DIV>INPUT" CHARS={{!COL1}}
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>FORM>FIELDSET>DIV:nth-of-type(2)>INPUT" BUTTON=0
SET !ENCRYPTION NO
SET !DATASOURCE twitterpassword.txt
SET !DATASOURCE_LINE {{!LOOP}}
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>FORM>FIELDSET>DIV:nth-of-type(2)>INPUT" CHARS={{!COL2}}
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>FORM>DIV:nth-of-type(2)>BUTTON" BUTTON=0
SET !DATASOURCE twitterbot.txt
SET !DATASOURCE_LINE {{!LOOP}}
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(3)>UL>LI:nth-of-type(2)>BUTTON" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(23)>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(4)>FORM>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV" CHARS={{!COL3}}
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(23)>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(4)>FORM>DIV:nth-of-type(3)>DIV:nth-of-type(2)>BUTTON" BUTTON=0

Didn't test it..... The username, password and tweet should be in the same file but thats more advanced for most users I don't feel like explaining.
 
gotta make a "twitterusername" "twitterpassword" file for this and load it with your info.
 
The best way is to use excel and make 3 comma seperated columns for for this then transfer it to a text file.
 
Thanks a lot for making an effort without any expectations from us lesser mortals who don't know how to code!
I really appreciate your effort. Thanks a ton!

Just wanted to point it out that somehow I couldn't get this to work.
I made 3 separate TXT files and put in datasource folder.
twitterusername.txt - usernames in separate lines
twitterpassword.txt - passwords in separate lines
twitterbot.txt - tweets in separate lines

I saved the script in the macros folder and clicked play

It runs through all the steps. Doesn't log in. and goes on till the end. Nothing happens.
Can you please guide me what I may be doing wrong?

Or perhaps, you could test it once to ensure it is working at your end.

Thanks anyway!
 
Back
Top