Skip to content

Update For Twitter's PIN Changes #3

Description

@GoogleCodeExporter
This library could use a small update to make it work nicely with today's
changes to how Twitter uses OAuth.  Here's how I got around the change:

  def getAccessToken(self, pin, url=ACCESS_TOKEN_URL):
      token = self._FetchUrl(url, parameters={'oauth_verifier': pin},
no_cache=True)
      return oauth.OAuthToken.from_string(token)

...where "pin" is the 6-digit PIN that the user gets from Twitter after
having authenticated something.

Original issue reported on code.google.com by wheaties...@gmail.com on 10 Jun 2009 at 6:25

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions