Migrated from generic-functions v5
parent
5ddb8c8dc5
commit
71ebd674d9
1 changed files with 2 additions and 2 deletions
|
|
@ -11,10 +11,10 @@ Parameters:
|
|||
|
||||
<pre>
|
||||
<code>
|
||||
import tango
|
||||
import twython
|
||||
|
||||
# Shortening URLs requires no authentication, huzzah
|
||||
twitter = tango.setup()
|
||||
twitter = twython.setup()
|
||||
shortURL = twitter.shortenURL("http://www.webs.com/")
|
||||
|
||||
print shortURL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue