Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.1K
Visualizações
You currently have Essential access which includes access to Twitter API v2 endpoints only -
import tweepy
import json
import pandas as pd

API_KEY = ''
API_SECRET = ' '
access_token = ''
access_token_seceret =''

auth = tweepy.OAuthHandler(API_KEY, API_SECRET)

api = tweepy.API(auth)

This code right here keeps giving me the error below, can anyone help me figure out how to fix the issue? I'm new to coding.

facebooktweets = api.user_timeline("Meta")
     ---------------------------------------------------------------------------
     TweepError                                Traceback (most recent call last)
     <ipython-input-8-96959e05857f> in <module>()
      ----> 1 facebooktweets = api.user_timeline("Meta")

      1 frames
      /usr/local/lib/python3.7/dist-packages/tweepy/binder.py in execute(self)
      232                     raise RateLimitError(error_msg, resp)
      233                 else:
  --> 234                     raise TweepError(error_msg, resp, api_code=api_error_code)
      235 
      236             # Parse the response payload

     TweepError: [{'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}]
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

It calls the v1.1 API. But the v1.1 API is not available in Essential access. Use the v2 API only: tweepy.Client — Twitter API v2 Reference — tweepy

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda