like ig posts imacro code.

  • Thread starter Thread starter Deleted member 657006
  • Start date Start date
D

Deleted member 657006

Guest
Found a good bit of code while trying to learn imacro. NOVEMBER 2019 CODE....

Like Instagram Posts and Wait Random Seconds iMacros Script




I’ve had a lot of requests for this type of Instagram script. In previous versions of iMacros you were able to use Javascript to generate random numbers. The new basic version of the add-on removed that function. So to get around that I used Random.org to generate random numbers. The script then extracts the number, goes to Instagram, likes a post and waits the number of seconds extracted from Random.org. It’s a very simple script that has worked well for me. I’ve found that I’m able to run the script a few hundred times before Instagram catches on.


Code:
SET !TIMEOUT_STEP 1
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
TAB T=1
URL GOTO=https://www.random.org/integers/?num=1&min=5&max=30&col=5&base=10&format=html&rnd=new

WAIT SECONDS=2

TAG POS=1 TYPE=pre ATTR=CLASS:data EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}

WAIT SECONDS=2

TAB T=2

TAG POS=1 TYPE=BUTTON ATTR=CLASS:dCJp8<SP>afkep

WAIT SECONDS=2

TAG POS=1 TYPE=A ATTR=TXT:Next

WAIT SECONDS={{!VAR1}}

SET !EXTRACT NULL

author
http://theimacrospro.com/like-instagram-posts-and-wait-random-seconds-imacros-script/

enjoy
 
Good one, but I think the random generator is a bit of overkill for the purpose..

You could use something like..

Code:
SET RANDOM EVAL("var randomNumber=Math.floor(Math.random()*180 + 60); randomNumber;")

WAIT SECONDS={{RANDOM}}

That will be much more efficient.

Edit: I see... So... Imacros removed js eval? Lol what a bummer.
 
I am getting curious never used imacros.

I will check this. Let us know if you find any good video source or post it here.
 
Wont this be flagged by instagram in under 1 day or so?
 
I am getting curious never used imacros.

I will check this. Let us know if you find any good video source or post it here.
Believe me, selenium is 10000 times better in most cases. Learn it (let's say, using python) and you will never need imacros, or anything similar.
 
Back
Top