Instagram Search Follow

Hardware Components:

1 Raspberry pi 3

This is a simple demo script, which takes friends from the target profile.

A more complex example can be found in SgneepBox-Terminal (Win + F11) and you can load it with the 'load script' command, the demo script is called 'da_search_friend_target'


Attention !!, sgneep-box will never ask you for the password of your instagram account. Your passwords must be entered directly in the browser during login.

To configure the browser that will be used by our Desktop Automation software access the SgneepBox-Terminal and type 'browser insta', at this point the browser will open and you will have to login in your favorite account.


Script

# instagram follow demo script
# update 27/08/2018
# RESET DEKSTOP AUTOMATION
da_reset

# CLOSE OLD BROWSER IF OPEN
da close_browser
da sleep 2

#SET BROWSER OPTION
da browser_dimension inst 600 500
da browser_xy inst 10 10

#OPEN BROWSER
da open_browser inst http://instagram.com/adidas/ instagram
da sleep 15

#PRESS FOLLOWING BUTTON
da mouse_xy_click 340 165
da sleep 4

# SET LOOP & UNFOLLOW PAUSE
da cycle 5
da cycle_pause 30

# DEFINE ARRAY LIST WITH Y AXIS
da array10 190 225 262 296 334 369

# ENABLE ARRAY
da array10_enabled

# CLICK IF BUTTON COLOR = 3708912 (BLUE BUTTON)
da click_if_color 406 190 3708912

da sleep 5
da close_browser
# RESTART FOR ANOTHER CYCLE
da restart

# LAUNCH DESKTOP AUTOMATION
da_run

# END MAIN SCRIPT
end_script

Powered by Sgneep.com