[iMacros] Get Twitter Followers Easily!

Code:
RuntimeError: element DIV specified by TXT:*<SP>new<SP>Tweets was not found, line: 23 (Error code: -921)
but thanks
 
i change the URL to
Code:
URL GOTO=twitter.com/search?src=typd&q=%23<TREND-HERE>
and it works,thanks m8
 
Those who got this problem:
RuntimeError: element DIV specified by TXT:*<SP>new<SP>Tweets was not found

Change the code to :
TAG POS=2 TYPE=DIV ATTR=TXT:*<SP>new<SP>results

the code should run smoothly now
 
I am getting an error code -921 with line 24. *<SP>new<SP>
Can you tell me what I need to change?
 
Hi guys,

Just found this old thread and I am amazed at how helpful everyone has been!

I am currently using the script replacing SPAN --> B and it is working fine - however it is still unfavouriting tweets that are favourited, is there any fix for this? I notice when a tweet is favourited it says 'favourited' and when it is not favourited it says 'favourite' is it possible to use an IF statement so IF the tweet is 'favourited' not 'favourite' it skips that one and continues to the next step? Not fantastic at coding I usually throw money at problems like these!

I cannot post my current script as I am a new member! Hopefully I can PM someone if you think you are able to help?

Thanks chaps.
 
Thank you for this. I have modified it to fit my campaign, except I found that using:

Code:
TAG POS=2 TYPE=DIV ATTR=TXT:*<SP>new<SP>results

will set the loop to start from pos1. If it starts from pos1, then what happens to the tweets you've already favorited? Will it unfavorite them? Is there a way to say only click on "new results" if they are above 10 or 15 results? If this is possible, then the script can be left alone without unfavoriting anyone.

I'm not sure if what I wrote is clear or not, but it would be awesome if someone could help me out with this.

Thank you!
 
Last edited:
- replace keyword1 and keyword2 by your keyword

Code:
SET !ERRORIGNORE YESTAB T=1
SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*100 + 20); randomNumber;")
SET !VAR2 EVAL("var randomNumber=Math.floor(Math.random()*10 + 1); randomNumber;")
SET !VAR3 EVAL("var randomNumber=Math.floor(Math.random()*10 + 1); randomNumber;")
WAIT SECONDS={{!VAR1}}
URL GOTO=twitter.com/search/realtime?q=KEYWORD1&src=typd
TAG POS=2 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=3 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=4 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=5 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=6 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=7 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=8 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR3}}
URL GOTO=twitter.com/search/realtime?q=KEYWORD2&src=typd
TAG POS=2 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=3 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=4 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=5 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=6 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=7 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=8 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR3}}
 
- replace keyword1 and keyword2 by your keyword

Code:
SET !ERRORIGNORE YESTAB T=1
SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*100 + 20); randomNumber;")
SET !VAR2 EVAL("var randomNumber=Math.floor(Math.random()*10 + 1); randomNumber;")
SET !VAR3 EVAL("var randomNumber=Math.floor(Math.random()*10 + 1); randomNumber;")
WAIT SECONDS={{!VAR1}}
URL GOTO=twitter.com/search/realtime?q=KEYWORD1&src=typd
TAG POS=2 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=3 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=4 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=5 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=6 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=7 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=8 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR3}}
URL GOTO=twitter.com/search/realtime?q=KEYWORD2&src=typd
TAG POS=2 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=3 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=4 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=5 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=6 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=7 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR2}}
TAG POS=8 TYPE=B ATTR=TXT:Favorite
WAIT SECONDS={{!VAR3}}

I get this message when i put that code in my iMacros

"SyntaxError: wrong format of SET command, line 1 (Error code: -910"
 
Getting an error: "RuntimeError: element SPAN specified by TXT:Favorite was not found, line 3 (Error code: -921)"
 
This is an imacro script. You can download imacro for firefox by typing "imacro" in the addons search field. Once you install it:

1. Restart your firefox browser.
2. Copy the script and save it with a text program like notepad in windows or texteditor in linux.
3. Make sure you save the file as "iim" and put it on your desktop so you know where it is.
4. Locate the iMacos icon in the toolbar of your browser and click it once. It will open on your left side
5. Highlight "Favorites" and right click so you can create a NEW folder. Rename the folder to Twitter or something like that.
6. Login to your Twitter account.
7. Highlight your new folder you renamed Twitter or whatever you named it.
8. Press the "Rec" tab located betweed Play and Edit in your imacro window on left side of screen.
9. Press the "Load" button and navigate to your Desktop where you saved the script file in iim
10. Once loaded, press the "Edit" tab and press "Edit Macro"
11. Type in the trend name you want to search and type it in without the <trend name>. (READ INSTRUCTIONS)
12. If you want to search the # hash tag, remove the <trend name> characters and put in %23 and then then name. Example #teaparty would be %23teaparty.
13. Once done, go back to the "Play" tab and presss the "Play (loop)" button. Don't forget to change the number of repeats. 3 is the default.

When you do this, the macro will run and favorite every post that has the name of the trend you put in or the hash tag you typed in.

** There is a flaw in the script. If the script "Favorites" a tweet once and incounters it again, it will "UnFavor" the tweet. This needs to be fixed. You can go behind the script once it gets done and re-favorite any tweets you want. So don't increase the MAX Repeats to high.

Thanks for helping out us newbies!!!
 
first off,
thanks for this script. it is awesome.

i might have been a little too excited with this feature because now twitter is saying i have reached my "rate limit"

i think it may have something to do with the API.

i know this is not your problem but do you know any work-arounds for this?
 
Back
Top