twitter login should use /account/verify_credentials #51

Closed
joerussbowman opened this Issue Jan 3, 2010 · 0 comments

Projects

None yet

1 participant

@joerussbowman

_oauth_get_user currently uses "/users/show/" + access_token["screen_name"] for logging in a user.

The access_token shouldn't rely on the screen_name, as the screen_name can be changed.

You can make a signed request to /account/verify_credentials to get the user information.

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentials

@bdarnell bdarnell added a commit that closed this issue Jun 1, 2013
@bdarnell bdarnell Get the current user's twitter information with /account/verify_crede…
…ntials.

This is more robust against potentially-changing screen names.

Closes #51.
85ff9eb
@bdarnell bdarnell closed this in 85ff9eb Jun 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment