Skip to content

Instantly share code, notes, and snippets.

@pierwill pierwill/
Last active Dec 9, 2017

What would you like to do?
daisy chain
#!/usr/bin/env python
import tweepy
from time import sleep
from secrets import 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)
daisy = (
while True:
status = api.user_timeline(user=daisy, count=1)[0]
api.update_status('daisy chain ' + '' + daisy + '/status/' + status.id_str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.