Skip to content

Instantly share code, notes, and snippets.

@sodastereo
Created May 12, 2020 03:38
Show Gist options
  • Save sodastereo/b7a8d69637fbb83da08ee0726867ca20 to your computer and use it in GitHub Desktop.
Save sodastereo/b7a8d69637fbb83da08ee0726867ca20 to your computer and use it in GitHub Desktop.
######################################################
# Imports #
######################################################
from selenium import webdriver
from selenium.webdriver.common.by import By
import time
######################################################
# Variables #
######################################################
# facebook username and password
username = 'ENTER EMAIL'
password = 'ENTER PASSWORD'
business_page = 'ENTER YOUR FB BUSINESS PAGE HERE'
event_page = 'ENTER YOUR FB BUSINESS EVENT PAGE HERE'
driver = webdriver.Chrome("ENTER CHROMEDRIVER PATH")
driver.get('https://www.facebook.com')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment