Twitter Streaming API in Python. Data mining Demonstration

preview_player
Показать описание
I have made some web scrappers before. You can check it out here:
and more.

It was so easy and fun work by using Beautiful Soup and Selenium.

This time I going to build a powerful Twitter scanner. Twitter provide three main APIs: the REST API, Streaming API, and the Ads API.

I will use Twitter Streaming API for gathering all related by a keyword tweets in real time. Yes - in real time!

First of all before all the work you must to create an application in your Twitter account. Then you will generate your Consumer ID, Secret keys, Token key and Token secret keys. You have to obtain credentials to be able to collect data from Twitter.

Good is that my code will write the real time tweets to output csv file after each tweet is come to the pocket.

Next step: implement sentimental analysis for tweets. Still searching for solutions.

Vytautas Bielinskas
Рекомендации по теме
Комментарии
Автор

Check it out my other scrapers:

If you liked it and want to get more, please subscribe me!

DataScienceGarage
Автор

A very good video thanks can you provide some more information on how to filter place and country in that code.

ambijat
visit shbcf.ru