def __init__(self, graph=facebook.GraphAPI(FACEBOOK_ACCESS_TOKEN)): print("Initializing Uploader") self.events = None #self.token = self.login() self.graph = graph print("Connected to Facebook")