Files changed (5)
+# In Python2.6 the parse_qsl() function is located in the urlparse library. In earlier versions it was part of the cgi library.
+# Swapping these two lines is all that is required to make the code compatible with the other version
+ # Removed the following line due to the fact that OAuth2 request objects do not have this function
+ user_id: The user_id of the user to target. (Source is automatically the authenticated user in this case.)
+ screen_name: The screen name of the user to target. (Source is automatically the authenticated user in this case.)
+ '''Returns extended information of a given user, specified by ID or screen name as per the required id parameter. The author's most recent status will be returned inline.
+ # We use this try block to make the request in case we run into one of Twitter's many 503 (temporarily unavailable) errors.
+ # Chances are that most of the time you run into this, it's going to be a 503 "service temporarily unavailable". That's a fail whale.
+ # Getting an URLError usually means you didn't even hit Twitter's servers. This means something has gone TERRIBLY WRONG somewhere.