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.
|
# 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 |
This error popped up while working on a project that subclasses this.
There is a backup function to invoke
self.callback_urlon 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