Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Keys don't map correctly #685

Open
David-OConnor opened this issue Dec 15, 2020 · 3 comments
Open

Keys don't map correctly #685

David-OConnor opened this issue Dec 15, 2020 · 3 comments

Comments

@David-OConnor
Copy link

Hi. The documentation implies you get started like this:

        api = twitter.Api(consumer_key=[TWITTER_KEY],
                          consumer_secret=[TWITTER_SECRET],
                          access_token_key=[TWITTER_TOKEN],
                          access_token_secret=[access token secret]
        )

However, the keys that Twitter provides aren't these; they're API key, API key secret, and Bearer token. I've tried a few combinations, but can't get it to work.

@David-OConnor
Copy link
Author

David-OConnor commented Dec 15, 2020

Got it working using these official examples. Is this package out of date?

@alvarolloret
Copy link

Thanks @David-OConnor, same issue here!

@heikomania
Copy link

These are the keys for the v2 API. API Key & API Key Secret map to consumer_key and consumer_secret. You have to generate the access_token_key and access_token_secret in the developer portal under your app -> Keys and tokens.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants