def main(username,password): """ Opens FacebookClient and posts random status """ fb = FacebookClient(username,password) humanRandom.searchEngineWaitTime() print("brithdays...") fb.happy_birthdays() fb.destroy()
def main(username,password): """ Opens FacebookClient and posts random status """ username, password = manager.session() fb = FacebookClient(username,password) humanRandom.searchEngineWaitTime() print("doing something fun...") fb.set_status() fb.destroy()
def main(username, password): """ Opens FacebookClient and posts random status """ username, password = manager.session() fb = FacebookClient(username, password) humanRandom.searchEngineWaitTime() print("doing something fun...") fb.set_status() fb.destroy()
def main(username, password): """ Opens FacebookClient and posts random quote """ quotes = get_quotes(os.path.join("tasks", "data", "quotes.csv")) c = random.randint(0, len(quotes) - 1) quote = quotes[c]['QUOTE'] username, password = manager.session() humanRandom.searchEngineWaitTime() print("found some inspirational shit:", quote) fb.post(quote) fb.destroy()
def main(username,password): """ Opens FacebookClient and posts random quote """ quotes = get_quotes(os.path.join("tasks","data","quotes.csv")) c = random.randint(0,len(quotes)-1) quote = quotes[c]['QUOTE'] username, password = manager.session() humanRandom.searchEngineWaitTime() print("found some inspirational shit:",quote) fb.post(quote) fb.destroy()