Last active
April 8, 2019 11:31
-
-
Save bhavul/21d0dc966419b071678f48577cd42709 to your computer and use it in GitHub Desktop.
This is an example of how to tweet using Twython
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from twython import Twython | |
tweet_string = "hello, world." | |
API_KEY = "iHDICWjSK3FXJv6sgCUDwg2hg" | |
API_SECRET = "VRialcPgfLwey43ryzqSq7R5P6IPVyR3Djty3gKL7HgabqDRNj" | |
ACCESS_TOKEN = "734117510488854528-iAqT0rHR89Svjdi6ZELvzqmGDFCXNd8" | |
ACCESS_SECRET = "etLHwcnLcH2NwTlklQc0GPTzrICLulpWtQ2MtYr0WVnwX" | |
api = Twython(API_KEY, API_SECRET, ACCESS_TOKEN, ACCESS_SECRET) | |
api.update_status(tweet_string) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment