diff --git a/Generic-Functions.textile b/Generic-Functions.textile index 762e089..b0fd381 100644 --- a/Generic-Functions.textile +++ b/Generic-Functions.textile @@ -11,11 +11,10 @@ Parameters:
-import twython
+from twython import Twython
# Shortening URLs requires no authentication, huzzah
-twitter = twython.core.setup()
-shortURL = twitter.shortenURL("http://www.webs.com/")
+shortURL = Twython.shortenURL("http://www.webs.com/")
print shortURL