Instagram followers script

Hi,
can you help me to create simple script to run on web server to follow one specific profile from 10 IG profiles?

I have 10 IG profiles with 10 proxies ( Example: IGProfile1, IGProfile2…IGprofile10)
when a visitor enters his user name on my website ( Example: kimkardashian ),—->I need to

Login–> IGProfile1–>follow "kimkardashian"–>logout
Login–> IGProfile2–>follow "kimkardashian"–>logout
..
..
.Login–> IGProfile10–>follow "kimkardashian"–>logout

finally "kimkardashian"…

Instagram followers script