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

Keys don't map correctly #685

Open
Open

Description

@David-OConnor

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.

Activity

  1. David-OConnor commented on Dec 15, 2020

    @David-OConnor
    Author

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

  2. alvarolloret commented on Dec 17, 2020

    @alvarolloret

    Thanks @David-OConnor, same issue here!

  3. heikomania commented on Feb 11, 2021

    @heikomania

    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 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