Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install complete, Twitter error about elevated access #43

Open
Schnabelobst opened this issue Oct 29, 2022 · 5 comments
Open

Install complete, Twitter error about elevated access #43

Schnabelobst opened this issue Oct 29, 2022 · 5 comments

Comments

@Schnabelobst
Copy link

After installation using cargo, an error occurs.

Is elevated access really necessary? This would limit usage to academics and a few others, right?

Error fetching tweets from Twitter: TwitterError(
    {
        "perf": "123456789",
        "content-type": "application/json;charset=utf-8",
        "cache-control": "no-cache, no-store, max-age=0",
        "content-length": "360",
        "x-transaction-id": "123456abcdef123",
        "x-response-time": "107",
        "x-connection-hash": "123456123456123456abcdef8a16f7b6a5b2b2fabcdefbe250526820",
        "date": "Sat, 29 Oct 2022 10:18:16 GMT",
        "server": "tsa_o",
    },
    TwitterErrors {
        errors: [
            TwitterErrorCode {
                message: "You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you’ll need to apply for Elevated access via the Developer Portal. You can learn more here: https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-leve",
                code: 453,
            },
        ],
    },
)
@alvarolorentedev
Copy link

I think elevated can be requested by anyone and still free tear. I am not certain how easy it is to get it. I requested it, I will let you know how it goes.

@dkorunic
Copy link

You can get elevated access immediately, upon requesting.

@alvarolorentedev
Copy link

i have not been granted it...maybe the stopped 🤔

@alvarolorentedev
Copy link

done, got it... works

@klausi klausi mentioned this issue Dec 11, 2022
@klausi
Copy link
Owner

klausi commented Jan 8, 2023

The problem is that mastodon-twitter-sync uses the egg-mode library to access the Twitter API. egg-mode only supports the Twitter v1 API, where you always need elevated access now when using v1.

I think mastodon-twitter-sync could run perfectly fine with Twitter API essential access once there is a port of egg-mode to Twitter API v2.

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

No branches or pull requests

4 participants