Skip to content

Instantly share code, notes, and snippets.

@Allwin12
Created May 25, 2020
Embed
What would you like to do?
import twitter
consumer_key = "xxxxxxxx"
consumer_secret = "xxxxxxxxx"
access_token_key = "xxxxxxxxxx"
access_token_secret_key = "xxxxxxxxxx"
api = twitter.Api(consumer_key=consumer_key,
consumer_secret=consumer_secret,
access_token_key=access_token_key,
access_token_secret=access_token_secret_key)
api.PostUpdates('Posted using python-twitter api')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment