Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andypiper/awesome-modern-twitter-api

A curated list of awesome apps built with, or libraries and resources for using, the modern Twitter API
https://github.com/andypiper/awesome-modern-twitter-api

List: awesome-modern-twitter-api

awesome awesome-list list twitter twitter-api twitter-api-v2

Last synced: about 1 month ago
JSON representation

A curated list of awesome apps built with, or libraries and resources for using, the modern Twitter API

Awesome Lists containing this project

README

        

# Awesome Modern Twitter API [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)

[![v2](https://img.shields.io/endpoint?url=https%3A%2F%2Ftwbadges.glitch.me%2Fbadges%2Fv2)](https://t.co/signup)
[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](./contributing.md)
[![CC-0 license](https://img.shields.io/badge/License-CC--0-blue.svg)](https://creativecommons.org/licenses/by-nd/4.0)

![awesome-modern-twitter-api](https://socialify.git.ci/andypiper/awesome-modern-twitter-api/image?description=1&font=Source%20Code%20Pro&logo=https%3A%2F%2Fraw.githubusercontent.com%2Fandypiper%2Fawesome-modern-twitter-api%2Fmain%2Fdocs%2Fimg%2Famta-logo.svg&pattern=Charlie%20Brown&stargazers=1&theme=Light)

A curated list of awesome libraries, SDKs, software and resources for the _modern_ (post-v1.1) Twitter API.

The [Twitter API](https://developer.twitter.com/) is the programming interface that enables developers like you to build apps and tools on top of the Twitter Developer Platform. Version 2 of the API represented a complete rewrite from the legacy (v1.1) platform, with new endpoints, data formats, and semantics. This list only includes content that is directly relevant to the modern API.

This list is community-contributed, and it is not owned by Twitter. The list can only be _even more awesome_, with _your_ help! Feel free to [contribute](contributing.md), or add to the [discussion](https://github.com/andypiper/awesome-modern-twitter-api/discussions) around items that could be included in the future. Spotted a dead link, typo, or other mistake? Please raise an [issue](https://andypiper/awesome-modern-twitter-api/issues) 🙌

## Contents

- [Awesome Modern Twitter API ![Awesome](https://awesome.re)](#awesome-modern-twitter-api-)
- [Contents](#contents)
- [Libraries](#libraries)
- [C# / .NET](#c--net)
- [Dart / Flutter](#dart--flutter)
- [Deno](#deno)
- [Go](#go)
- [Java](#java)
- [JavaScript (Node.js) / TypeScript](#javascript-nodejs--typescript)
- [Kotlin](#kotlin)
- [PHP](#php)
- [PowerShell](#powershell)
- [Python](#python)
- [R](#r)
- [Ruby](#ruby)
- [Rust](#rust)
- [Swift](#swift)
- [Resources](#resources)
- [Community](#community)
- [Documentation](#documentation)
- [Sample apps](#sample-apps)
- [Tutorials](#tutorials)
- [Tools](#tools)
- [API testing](#api-testing)
- [No-code](#no-code)

## Libraries

API libraries in a range of programming languages. This list is not intended to be comprehensive, but aims to include awesome libraries and SDKs that cover a solid range of the API features and endpoints. No order of priority or preference is intended, both first-party and third-party libraries are included.

### C# / .NET

- [CoreTweet](https://github.com/CoreTweet/CoreTweet) - Yet Another .NET Twitter Library.
- [LinqToTwitter](https://github.com/JoeMayo/LinqToTwitter) - LINQ Provider for the Twitter API (C# Twitter Library).
- [SocialOpinion](https://github.com/jamiemaguiredotnet/SocialOpinion-Public) - APIs written in C# that connect to the Twitter API.
- [Tweetinvi](https://github.com/linvi/tweetinvi) - Tweetinvi, an intuitive Twitter C# library.
- [TwitterSharp](https://github.com/Xwilarg/TwitterSharp) - C# wrapper around Twitter API V2.

### Dart / Flutter

- [twitter-api-v2](https://github.com/twitter-dart/twitter-api-v2) - Library for Twitter API v2 written in Dart and Flutter.

### Deno

- [twi](https://github.com/roj1512/twi) - Twitter API client for Deno ported from twitter-api-typescript-sdk.

### Go

- [ctw](https://github.com/0dayfall/ctw) - Twitter v2 API.
- [go-twitter](https://github.com/g8rswimmer/go-twitter) - A Go library for Twitter v2 API integration.
- [gotwi](https://github.com/michimani/gotwi) - A library for using the Twitter API v2 in the Go language.
- [gotwtr](https://github.com/sivchari/gotwtr) - A library that provides Twitter v2 API.
- [twitter-stream](https://github.com/Fallenstedt/twitter-stream) - A Go wrapper for Twitter's V2 Filtered Stream API.
- [twitter](https://github.com/creachadair/twitter) - A Go client for the Twitter v2 API.

### Java

- [JTW](https://github.com/uakihir0/jtw) - Twitter v2 API Client for Java that can be complied to Objective-C by J2ObjC.
- [twitter-api-java-sdk](https://github.com/twitterdev/twitter-api-java-sdk) - A Java SDK for the Twitter API (official).
- [twitter-compliance](https://github.com/UCL/twitter-compliance) - Multi-module Jakarta EE application for syncing compliance events from Twitter.
- [twitter4j-v2](https://github.com/takke/twitter4j-v2) - A simple wrapper for Twitter API v2 that is designed to be used with Twitter4J.
- [twittered](https://github.com/redouane59/twittered) - Twitter API client for Java developers.

### JavaScript (Node.js) / TypeScript

- [node-twitter-api-v2](https://github.com/PLhery/node-twitter-api-v2) - Strongly typed, full-featured, Twitter API v2 client for Node.js.
- [tweet-json-to-html](https://github.com/wdl/tweet-json-to-html) - Converts Twitter API v2 Tweet JSON object into HTML format.
- [twitter-api-typescript-sdk](https://github.com/twitterdev/twitter-api-typescript-sdk) - A TypeScript SDK for the Twitter API.
- [twitter-types](https://github.com/twitterjs/twitter-types) - Type definitions for Twitter API.
- [twitter.js](https://github.com/twitterjs/twitter.js) - A Node.js and TypeScript library for interacting with Twitter API v2.

### Kotlin

- [KTweet](https://github.com/ChromasIV/KTweet) - A Kotlin Library that allows you to consume the Twitter API v2.
- [Tweedle](https://github.com/tyczj/Tweedle) - A Kotlin-based Android library around the Twitter v2 API.
- [TwitterApiKit](https://github.com/kojofosu/TwitterApiKit) - Twitter's API v2 Objectified. This library is supported on Gradle, Maven, Java, Kotlin, and Android projects.

### PHP

- [bird-elephant](https://github.com/danieldevine/bird-elephant) - PHP library for Twitter API v2.
- [twifer](https://github.com/ferrysyahrinal/twifer) - Simple PHP Library for Twitter API.
- [twitter](https://github.com/atymic/twitter) - Twitter API for Laravel 5.5+, 6.x, 7.x & 8.x.
- [Twitter Stream API](https://github.com/felixdorn/twitter-stream-api) - Consume the Twitter Stream API in real-time.
- [Twitter-api-v2-php](https://github.com/noweh/twitter-api-v2-php) - PHP package providing easy and fast access to Twitter API V2.
- [Twitter-ultimate-php](https://github.com/utxo-one/twitter-ultimate-php) - A complete PHP Wrapper for the Twitter v2 API.
- [twitteroauth](https://github.com/abraham/twitteroauth) - PHP library for use with the Twitter OAuth REST API.

### PowerShell

- [BluebirdPS](https://github.com/thedavecarroll/BluebirdPS) - A Twitter Automation Client for PowerShell 7.

### Python

- [2wttr](https://github.com/simonlindgren/2wttr) - Requires Academic Access.
- [compliant-client](https://github.com/twitterdev/compliant-client)
- [python-twitter](https://github.com/sns-sdks/python-twitter)
- [PyTweet](https://github.com/TheFarGG/PyTweet)
- [search-tweets-python](https://github.com/twitterdev/search-tweets-python)
- [spacy](https://github.com/madaragon/spacy)
- [tweepy](https://github.com/tweepy/tweepy)
- [tweetkit](https://github.com/ysenarath/tweetkit)
- [tweetple](https://github.com/dapivei/tweetple)
- [twitivity](https://github.com/twitivity/twitivity)
- [twitter-stream.py](https://github.com/twitivity/twitter-stream.py)
- [TwitterAPI](https://github.com/geduldig/TwitterAPI)
- [twitterapiv2](https://github.com/Preocts/twitterapiv2)
- [twitterati](https://github.com/JeannieDaniel/twitterati)

### R

- [academictwitteR](https://github.com/cjbarrie/academictwitteR)
- [RTwitterV2](https://github.com/MaelKubli/RTwitterV2)

### Ruby

- [omniauth-twitter2](https://github.com/unasuke/omniauth-twitter2) - OmniAuth strategy for authenticating with Twitter OAuth2.
- [search-tweets-ruby](https://github.com/twitterdev/search-tweets-ruby) - Ruby client for Twitter API v2 search endpoints.
- [tweetkit](https://github.com/julianfssen/tweetkit) - Twitter v2 API client for Ruby.
- [twitter_oauth2](https://github.com/nov/twitter_oauth2) - Twitter OAuth 2.0 Client Library in Ruby.
- [twttr](https://github.com/robertodecurnex/twttr) - Twitter API v2 Interface.

### Rust

- [rs_twitter_request](https://github.com/SkoogJacob/rs_twitter_request)
- [twitter-v2-rs](https://github.com/jpopesculian/twitter-v2-rs) - Rust bindings for Twitter API v2.

### Swift

- [Sweet](https://github.com/zunda-pixel/Sweet)
- [Twift](https://github.com/daneden/Twift/)
- [TwitterAPIKit](https://github.com/mironal/TwitterAPIKit)

## Resources

### Community

Forums, discussion and Q&A channels.

- [Developer Forums](https://twittercommunity.com) - Twitter-owned discussion forums for the API and developer platform.
- [Questions tagged `[twitter]` on Stack Overflow](https://stackoverflow.com/questions/tagged/twitter) - Stack Overflow topic for Twitter questions.
- [`[twitter-api-v2]` on LibHunt](https://www.libhunt.com/topic/twitter-api-v2) - Code projects using Twitter API v2 on LibHunt.

### Documentation

- [API version badges](https://twbadges.glitch.me/) - Useful API version support labels for Markdown or other documentation.
- [OpenAPI Specification](https://api.twitter.com/2/openapi.json) - The core API specification document, in OpenAPI format.
- [Tweet capacity quick reference](https://cloud-eustoma-eaa.notion.site/Twitter-API-7e9483b8ee694bcf8f962087bbec79c5) - A short summary of API data volumes.
- [Twitter Developer Website](https://developer.twitter.com/docs) - The official Twitter API documentation.

### Sample apps

#### Code collections

- [Twitter page on Glitch](https://glitch.com/@twitter) - Remixable examples on Glitch
- [Twitter page on Replit](https://replit.com/@Twitter) - Samples and templates on Replit
- [TwitterDev org on GitHub](https://github.com/twitterdev) - Source code repositories on GitHub

#### Individual samples

- [Bookmark Search](https://bookmarksearch.glitch.me/) - An app using OAuth 2.0 and the Bookmarks API that can be remixed on Glitch.

### Tutorials

Guides, blog posts, tutorials, videos, howtos on using the Twitter API.

- [How to search for Tweets about various 'Topics' using the Twitter API v2](https://dev.to/suhemparack/how-to-search-for-tweets-about-various-topics-using-the-twitter-api-v2-3p86)
- [Introduction to Twitter Data Processing and Storage on AWS](https://dev.to/twitterdev/introduction-to-twitter-data-processing-and-storage-on-aws-1og)
- [Twitter API v2 Tips and Tricks](https://www.postman.com/apihandyman/workspace/twitter-api-v2-tips-and-tricks/overview)
- [Understanding the entire conversation around a Tweet with v2](https://dev.to/suhemparack/understanding-the-entire-conversation-around-a-tweet-with-the-twitter-api-v2-3ce6)

## Tools

### API testing

- [Postman Collection](https://www.postman.com/twitter/workspace/twitter-s-public-workspace/collection/9956214-784efcda-ed4c-4491-a4c0-a26470a67400?ctx=documentation)
- [Twitter API Tools](https://developer.twitter.com/apitools/)
- [Twitter OAuth Playground](https://oauth-playground.glitch.me/) - Test any of the Twitter API endpoints from a web interface.
- [Twitter Swagger UI](https://snowcait.github.io/twitter-swagger-ui/)

### No-code

- [twarc](https://twarc-project.readthedocs.io/en/latest/twarc2_en_us/)
- [Tweet Downloader](https://developer.twitter.com/apitools/downloader) - Requires Academic Access.
- [Twitter Data Toolkit](https://github.com/shohil-kishore/twitter-data-toolkit)