Update examples and READMEs
[ci skip]
This commit is contained in:
parent
ea0b646fd1
commit
6238912b96
3 changed files with 100 additions and 1 deletions
|
|
@ -2,4 +2,6 @@ from twython import Twython
|
|||
|
||||
# Requires Authentication as of Twitter API v1.1
|
||||
twitter = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
|
||||
twitter.update_profile_image('myImage.png')
|
||||
|
||||
avatar = open('myImage.png', 'rb')
|
||||
twitter.update_profile_image(image=avatar)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue