InnoOkeke / ScrapTweets

Introduction to scraping tweets from Twitter using Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ScrapTweets

Introduction to scraping tweets from Twitter using Python

Scraping With Tweepy

There are two parts to scraping with Tweepy because it requires Twitter developer credentials. If you already have credentials from a previous project then you can ignore this section.

Gaining Credentials for Tweepy

In order to receive credentials, you must apply to become a Twitter developer Here. This does require that you have a Twitter account. The application will ask various questions about how you intend to use the API.

After finishing the application, the approval process is relatively quick and shouldn’t take longer than a couple of days. Upon being approved you will need to log in and set up a dev environment in the developer dashboard and view that app’s details to retrieve your developer credentials.

Make sure you have Python installed and Anaconda Open Jupyter Notebook from Anaconda GUI

pip install tweepy

import tweepy

import pandas as pd

About

Introduction to scraping tweets from Twitter using Python


Languages

Language:Jupyter Notebook 100.0%