Skip to content

Instantly share code, notes, and snippets.

@marioidival
Last active December 16, 2015 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marioidival/5388964 to your computer and use it in GitHub Desktop.
Save marioidival/5388964 to your computer and use it in GitHub Desktop.
Tweets for my love
from time import sleep
import tweepy
consumer_key= ""
consumer_secret= ""
access_token= ""
access_token_secret= ""
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api = tweepy.API(auth)
cont = 123
while True:
tww = "Parabens meu amor! Eu te amo #ParabensParaDara, %s, Retweet e Compartilha! https://www.facebook.com/DarinhaCherry" %(cont)
api.update_status(tww)
cont += 1
sleep(90)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment