Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using "expanded_url" instead of following links manually #282

Open
wzyboy opened this issue Feb 25, 2015 · 0 comments
Open

Consider using "expanded_url" instead of following links manually #282

wzyboy opened this issue Feb 25, 2015 · 0 comments
Labels

Comments

@wzyboy
Copy link

wzyboy commented 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 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!

@wzyboy 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
@RouxRC RouxRC added the CLI label Feb 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants