Skip to content

delete_tweet.py provides an authorization link that doesn't return the authorization PIN #100

Open
@numbworks

Description

@numbworks

Problem:
"delete_tweet.py" provides an authorization link that doesn't return the authorization PIN.

I do refer to the following block in the log after running the script:

...
Please go here and authorize: https://api.twitter.com/oauth/authorize?oauth_token=<token>
Paste the PIN here: <pin>
...

Solution:
As for "create_tweet.py", replacing the following line:

request_token_url = "https://api.twitter.com/oauth/request_token"

with the following:

request_token_url = "https://api.twitter.com/oauth/request_token?oauth_callback=oob&x_auth_access_type=write"

to fix the issue.

Please update the file in the repository accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions