How to get TWEETS by Python | Twitter API 2022

preview_player
Показать описание
A tutorial on creating a Twitter Developer Account with Elevated Access, getting tweets with TWEEPY, and exporting data to CSV.

Code on GitHub:

How to get TWEETS by Python | Twitter API 2022:

Get Tweets by User and Hashtag with Python | Twitter API 2022:

Stream Tweets in real-time by Python | Twitter API 2022

Content:
00:00 - Intro
00:11 - Creating Twitter Developer Account with Elevated Access
04:40 - Getting Tweets with Tweepy
12:32 - Saving Data to CSV with Pandas
Рекомендации по теме
Комментарии
Автор

Thank you guys for your support 🙂. I made new videos about getting tweets from users or tweets by keywords/hashtags, and streaming tweets in real-time. Links of the videos are in the description.

aispectrum
Автор

Elevated access is now basic access and I have to pay 100$ a month to access tweets.... I was so excited to follow along this project

hnn
Автор

Great video. This is the only resource I found online saying I need elevated access. Thank you

Vitotheking
Автор

Thank you so much for this video! You are such a good teacher the Netherlands is lucky to have you!

violapastorino
Автор

It would be great if we see real-time tweets of any particular account. There is not much information on that as of now. Would be helpful for us. Thanks. Appreciate your effort. God bless you!

nehat
Автор

you can also use pandas json_normalize() function, which transforms a json dic into a nice pandas DataFrame.

tweets =
tweets

With tweepy you would need to change the return_type to requests.Response.
client = tweepy.Client(
bearer_token=BEARER_TOKEN,
return_type = requests.Response # Needed to use json methods, which makes life much easier
)

KulturanCov
Автор

Hi !! I have this exception: "453 - 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." But in the Developer Portal i have all proyects in Elevated Access 🙁

pepex
Автор

Thank you so much!! This tutorial is the easiest one to follow!

laarx
Автор

I cant seem to get past the creation of the developers' account.

seyiojo
Автор

you're a genius. un saludo carnal, excelente video.

marianomeses
Автор

Thanks for the video. I was searching for something like this.

sazid_mahmud
Автор

hello.. i try to use the code but i have an error . tweepy.errors.Forbidden: 403 Forbidden
453 - 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.

please help me

HelloNewMe
Автор

Does it take a long time to get the twitter developer account? Or will it be created as soon as you agree with the terms and conditions

irshadshaik
Автор

how do i run the code in vs code terminal window

ayorinde
Автор

hello is there any callback url or website url tht i can fill, because it required right now

JoyGT
Автор

Jay Shree Baba Mahakaal Ji Har Har Mahadev Ji
Jay Shree Aai Shree Kulswamini Maa Tuljabhawani Maiyaa ji Jay Shree Maa Harsaddhi Bhawani Maiyaa ji❤

nihalshukla
Автор

Many thanks for your video. It's extremely useful. I am a PhD student, and I am trying to extract tweets according to keywords. I'll target your video. Thank you very much!!!

kchen
Автор

Hi after write the code for print(api_key) in my MacBook I found an error can you please help me on that

ppsweetanny
Автор

thank you to much, we learning us with you new skill tweetpy API 🙏🙏🙏🤝

ahmedutuber
Автор

Thank you my lovely, this was really helpful. I was wondering if there was a way to change the date/time format? At the moment, it comes out as something like [2022-04-29 14:58:39+00:00] – which cannot be recognised as a date in excel.

Restlesscrocodile
visit shbcf.ru