My Projects

Instagram auto follow and unfollow. Requires the user already be login into their account on their browser.

import pyautogui
import webbrowser 

user_name = input('What is the instagram username?[Be Specific]')
webbrowser.open(f'https://www.instagram.com/{user_name}/')
fu = input('Do you want to follow or unfollow the user?').lower() 
if fu == 'follow':
    pyautogui.click(1133,359)
    pyautogui.click(725,256)
elif fu == 'unfollow':
    pyautogui.click(1133,359)
    pyautogui.click(725,256)
    pyautogui.click(705,508)