Migrated from overview-intro v2
parent
e44fe74377
commit
5a890f98b1
1 changed files with 3 additions and 0 deletions
|
|
@ -19,5 +19,8 @@ twitter = tango.setup(authtype="Basic", username="example", password="example")
|
|||
# Using OAuth Authentication (Note: OAuth is the default, specify Basic if needed)
|
||||
auth_keys = {"consumer_key": "yourconsumerkey", "consumer_secret": "yourconsumersecret"}
|
||||
twitter = tango.setup(username="example", password="example", oauth_keys=auth_keys)
|
||||
|
||||
# Using Basic Authentication and adding custom HTTP Headers
|
||||
twitter = tango.setup(authtype="Basic", username="example", password="example", headers="your_headers_here")
|
||||
</code>
|
||||
</pre>
|
||||
Loading…
Add table
Add a link
Reference in a new issue