You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current code uses urllib2 to follow t.co links. This is time consuming and error prone.
As Twitter API Docs specifies, the returned data of user_timeline contains expanded_url value, which consists of original links before t.co shortens them.
Please considering using them directly instead of following them with urllib2.
Thanks for your great work!
The text was updated successfully, but these errors were encountered:
wzyboy
changed the title
Consider using "expand_url" instead of following links manually
Consider using "expanded_url" instead of following links manually
Feb 25, 2015
Current code uses urllib2 to follow t.co links. This is time consuming and error prone.
As Twitter API Docs specifies, the returned data of
user_timeline
containsexpanded_url
value, which consists of original links before t.co shortens them.Please considering using them directly instead of following them with urllib2.
Thanks for your great work!
The text was updated successfully, but these errors were encountered: