def main(username,password):
    """ Opens FacebookClient and posts random status """
    fb = FacebookClient(username,password)
    humanRandom.searchEngineWaitTime()
    print("brithdays...")
    fb.happy_birthdays()
    fb.destroy()
Esempio n. 2
0
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()
Esempio n. 3
0
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()
Esempio n. 4
0
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()
Esempio n. 5
0
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()