SOURCE CODE
https://github.com/SkunkworksCapital/instagram-post-scheduler
IMPORTANT NOTES
- If Your Photo Does Not Fit to the screen, You Can Use This Feature Called expand, to Use This Feature Just Unmute Below Lines:
#expnd_btn = browser.find_element_by_class_name('pHnkA')[line:55]#expnd_btn.click()[line:56]#time.sleep(1)[line:58]
Before Running scheduler.py
- Open scheduler.py File and Edit The Following Lines:
username = 'USERNAME' # Enter your username here[line:23]password = 'PASSWORD' # Enter your password here[line:24]file_path = r"C:\Users\P Sinha\Desktop\Capture.png" # File Path Where Pic/Vid is Stored That You Want To Upload[line:25]timee = "21:44" # Specific Time When The Post will be Posted[line:92]caption = 'Hi There, P Sinha this side !' # Write Your Caption Here[line:65]
Ensure that you have Chrome installed and the chromedriver that matches your Chrome version available on your $PATH. You may have to update this from time to time.
Requirements
- Python
pythonon the PATH- The Requests Library for Python:
pip install requests - Install Selenium:
pip install selenium
- Install Schedule:
pip install schedule
- Install pyautogui:
pip install PyAutoGUI
Run
- Run the program using:
python scheduler.py