Skip to content

Twython.callback_url does not exist #552

Description

@jvanasco

This error popped up while working on a project that subclasses this.

There is a backup function to invoke self.callback_url on the Twython class, however that attribute is never assigned or defined.

Looking at the history of the project, I think this was marked for deprecation in 2011 and removed in 2013, but this reference somehow remained.

twython/twython/api.py

Lines 359 to 361 in 0c40560

# Use old-style callback argument if server didn't accept new-style
if callback_url and not oauth_callback_confirmed:
auth_url_params['oauth_callback'] = self.callback_url

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions