good day. i can see you want imacro to loop through the links of users you have and then like them one by one. i prefer using imacro for most of my browser automation because direct firefox browser simulation.
i created a similar bot to like and comment at the same time. so since you just want it to like, i will give you the code for importing the links from text file or csv file.
you can use this code below. all you need to do is to change the name of the file that contains the instagram links to
instagramlink that is at the first SET !DATASOURCE. don't know if the links is inside a text file or csv. if your links is inside a text file, then no need changing file extension but if it is a csv file, then change the file extension to csv. e.g
instagramlink.txt to instagramlink.csv
then add your imacro like code after the wait seconds 20.
note that you have to put the instagramlink file side imacro Datasource folder so it can detect the path.
if you have any issue, do let me know. cheers.
==========================================
Code:
TAB T=1
SET !LOOP 1
SET !DATASOURCE instagramlink.txt
SET !DATASOURCE_LINE {{!LOOP}}
WAIT SECONDS=2
URL GOTO={{!COL1}}
WAIT SECONDS=20
============================================