timestamps 🐦: 0:30 create app in developer twitter account 1:38 access your application 1:48 access tokens and keys 2:45 get Python code to access api 3:03 editor requirements 4:10 install tweepy in terminal 4:42 create file with Python code 5:38 handle authorization error 6:01 explaining the code 7:20 MyStreamListener explained 8:22 final result: run script to get tweets data
Thanks for the guide! Works well. But my problem is I want to get it to a CSV file and limit it to a specific time period. How can I do so? I'm using anaconda
To limit the results to specific time period use the search endpoint developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets or docs.tweepy.org/en/latest/api.html#search-methods
@@skillbits5941 I was thinking of exporting it to CSV and run data analysis on it. This could be pretty interesting if we generate a followers list of a handle and when was each handle created, how many followers they have (just number), how many tweets each follower has made. Then maybe I can take it further and analyze a tweet, who have liked it or tweeted it. This lays the foundation for many other uses. It will be very useful.
@@skillbits5941 I tried to regenerate them again and use them, but still the same output. I recently found out that their maybe a bug from twitter side and their are other ways to use twitter api except tweepy. I might try them
Check out our new video on saving tweets to csv file! 🐦 th-cam.com/video/rfqEJpJtCzw/w-d-xo.html
timestamps 🐦:
0:30 create app in developer twitter account
1:38 access your application
1:48 access tokens and keys
2:45 get Python code to access api
3:03 editor requirements
4:10 install tweepy in terminal
4:42 create file with Python code
5:38 handle authorization error
6:01 explaining the code
7:20 MyStreamListener explained
8:22 final result: run script to get tweets data
Nice one! :) Good luck with yours channel :D
In my Twitter app there isn't consumer key, so how to find consumer key ?
Check out this screenshot by us imgur.com/a/PkpocKq
Could you please make a video on how can we change the twitter link into image in JavaScript?
well played bro ;)
how to save those comments into a csv file??
Here is the code and explanation th-cam.com/video/rfqEJpJtCzw/w-d-xo.html
Make sure to have a developer account first, registration process explained here in part 1 🐦:
th-cam.com/video/nYcuZDItwa0/w-d-xo.html
Thanks, this is helpful 👍
Thanks for the guide! Works well. But my problem is I want to get it to a CSV file and limit it to a specific time period. How can I do so? I'm using anaconda
To limit the results to specific time period use the search endpoint developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets or docs.tweepy.org/en/latest/api.html#search-methods
Hi, I wanted to know if you managed and if you did please share how you went about it?
Can you make a video on how to find and save followers of any user?
Any particular idea how to use this data? We could possible visualize it in a graph or something, with followers of followers. What do you think?
@@skillbits5941 I was thinking of exporting it to CSV and run data analysis on it. This could be pretty interesting if we generate a followers list of a handle and when was each handle created, how many followers they have (just number), how many tweets each follower has made. Then maybe I can take it further and analyze a tweet, who have liked it or tweeted it. This lays the foundation for many other uses. It will be very useful.
It is a pity that this tutorial series are not uploading anymore.
Thank you for your interest! We'll be back soon
In case you are still interested, we have just added a new video on saving data from Twitter API to csv file th-cam.com/video/rfqEJpJtCzw/w-d-xo.html
Following up
I used the same code, it gave me 401 errors.
Can somebody help?
The output was -
401
401
401
401
Please try to regenerate your own tokens in the developer.twitter.com panel and enter them again into the source code.
@@skillbits5941 I tried to regenerate them again and use them, but still the same output.
I recently found out that their maybe a bug from twitter side and their are other ways to use twitter api except tweepy. I might try them