Tools for Twitter

Overview

Tools for Twitter Data

This is a start of a collection of tools to use for collecting data via the Twitter API. If you do not have a Twitter Developer account, please see the Twitter Getting Started guide

Requirements:

Installation

  • Clone the repository, or download the .zip (and unzip)
  • In your command line interface, change directory to the code
  • Create a virtual environment
  • Run pip install -r requirements.txt

Full-Archive Search

(note: this requires a Twitter Academic Research product track license, and uses the version 2 endpoints)

Using the run_twitter_search_all.py tool, you can search for and download Twitter data directly from the search all API endpoint. The output will be written to the output directory as the raw json data as given to you by the Twitter API.

The program also checks for rate limiting and will automatically wait and retry as needed indefinitely.

Usage:

python run_twitter_search_all.py -c {config.json}

The config file has the following settings:

  • api_key: (required) your Twitter application API key
  • api_secret: (required) your Twitter application API secret key
  • output_path: (required) the path to write the output data. If the directory does not exist, it will be created.
  • search_parameters: (required) the search parameters to use. This is a json object of key/value pairs and will be pass as query parameters to the Twitter API. For the full list of parameters, see the Query Parameters section in the Twitter API documentation
  • log_to_file: (optional) true or false. If true, it will write a log file when running under the log_file_path.
  • log_file_path: (optional) the path to write the runtime log files to. If the directory does not exist, it will be created.

License

This software is licensed under the MIT license (see the LICENSE file). No warranty of any kind is expressed or implied by your use of this software.

Contact Us

Have an issue or question about this code? Let us know either in the Issues section or contact us at [email protected].

You might also like...
Twitter for Python!

Tweepy: Twitter for Python! Installation The easiest way to install the latest version from PyPI is by using pip: pip install tweepy You can also use

A Python wrapper around the Twitter API.

Python Twitter A Python wrapper around the Twitter API. By the Python-Twitter Developers Introduction This library provides a pure Python interface fo

Python Twitter API

Python Twitter Tools The Minimalist Twitter API for Python is a Python API for Twitter, everyone's favorite Web 2.0 Facebook-style status updater for

Scrape the Twitter Frontend API without authentication.

Twitter Scraper ๐Ÿ‡ฐ๐Ÿ‡ท Read Korean Version Twitter's API is annoying to work with, and has lots of limitations โ€” luckily their frontend (JavaScript) has

Scrape Twitter for Tweets
Scrape Twitter for Tweets

Backers Thank you to all our backers! ๐Ÿ™ [Become a backer] Sponsors Support this project by becoming a sponsor. Your logo will show up here with a lin

๐Ÿ™ Share your Github stats for 2020 on Twitter
๐Ÿ™ Share your Github stats for 2020 on Twitter

Year on Github ๐Ÿ™ Share your Github stats for 2020 on Twitter. This project contains a small web app that let's you share stats about your Github acti

Python Twitter API

Python Twitter Tools The Minimalist Twitter API for Python is a Python API for Twitter, everyone's favorite Web 2.0 Facebook-style status updater for

Track live sentiment for stocks from Reddit and Twitter and identify growing stocks
Track live sentiment for stocks from Reddit and Twitter and identify growing stocks

Market Sentiment About This repository can mainly be used for two things. a. Tracking the live sentiment of stocks from Reddit and Twitter b. Tracking

Twitter bot that turns comment chains into ace attorney scenes. Inspired by and using https://github.com/micah5/ace-attorney-reddit-bot

Ace Attorney twitter Bot Twitter bot that turns comment chains into ace attorney scenes. Inspired by and using https://github.com/micah5/ace-attorney-

Owner
DiscoverText
DiscoverText, is collaborative text, survey, and Twitter data science software. Learn about our text analytics as well as human and machine-learning tools.
DiscoverText
Twitter bot that finds new friends in Twitter.

PythonTwitterBot Twitter Bot Thats Find New Friends pip install textblob pip install tweepy pip install googletrans check requirements.txt file Env

IbukiYoshida 4 Aug 11, 2021
A twitter multi-tool for OSINT on twitter accounts.

>TwitterCheckr A twitter multi-tool for OSINT on twitter accounts. Infomation TwitterCheckr also known as TCheckr is multi-tool for OSINT on twitter a

IRIS 16 Dec 23, 2022
twitter bot tha uses tweepy library class to connect to TWITTER API

TWITTER-BOT-tweepy- twitter bot that uses tweepy library class to connect to TWITTER API replies to mentions automatically and follows the tweet.autho

Muziwandile Nkomo 2 Jan 8, 2022
Twitter-bot - A Simple Twitter bot with python

twitterbot To use this bot, You will require API Key and Access Key. Signup at h

Bentil Shadrack 8 Nov 18, 2022
Twitter-redesign - Twitter Redesign With Django

Twitter Redesign A project that tests Django and React knowledge through a twitt

Mark Jumba 1 Jun 1, 2022
Tools for Twitter

Tools for Twitter Data This is a start of a collection of tools to use for collecting data via the Twitter API. If you do not have a Twitter Developer

DiscoverText 36 Oct 13, 2022
ToqueIO Nuke tools - A collection of tools designed to assist in enhancing your workflows within nuke

ToqueIO Nuke tools - A collection of tools designed to assist in enhancing your workflows within nuke

null 4 Feb 19, 2022
A Python wrapper around the Twitter API.

Python Twitter A Python wrapper around the Twitter API. By the Python-Twitter Developers Introduction This library provides a pure Python interface fo

Mike Taylor 3.4k Jan 1, 2023
A super awesome Twitter API client for Python.

birdy birdy is a super awesome Twitter API client for Python in just a little under 400 LOC. TL;DR Features Future proof dynamic API with full REST an

Inueni 259 Dec 28, 2022