Screenshot Tweet

Screenshot a Twitter tweet.
Alternatives To Screenshot Tweet
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Twint15,17413107 months ago43April 29, 2020589mitPython
An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
Trump2cash6,069
2 years ago32mitPython
A stock trading bot powered by Trump tweets
T5,4288928 days ago60December 24, 2016181mitRuby
A command-line power tool for Twitter.
Twitter Scraper3,6291027 months ago11July 17, 202050mitPython
Scrape the Twitter Frontend API without authentication.
Twitter Text2,9713521065 months ago58March 31, 202087apache-2.0HTML
Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform.
Tweets_analyzer2,573
4 years ago30gpl-3.0Python
Tweets metadata scraper & activity analyzer
Twitterscraper1,8522212 years ago47July 28, 2020136mitPython
Scrape Twitter for Tweets
Refined Twitter1,276
3 years agomitJavaScript
Browser extension that simplifies the Twitter interface and adds useful features
Wp Accesspress Twitter Feed1,111
7 years ago1PHP
Wp Recent Tweet1,106
7 years agoPHP
Recent Tweets plugin for Wordpress
Alternatives To Screenshot Tweet
Select To Compare


Alternative Project Comparisons
Readme

screenshot-tweet NPM version

Screenshot a Twitter tweet.

Installation

Install the package with NPM:

$ npm install -g screenshot-tweet

The -g flag is recommended for easy CLI usage, but completely optional.

API

The package exposes a function with the signature (tweetUrl, filePath), where tweetUrl is the URL of the tweet and filePath is the filesystem location to save the screenshot at. Returns a Promise.

Example:

import screenshotTweet from "screenshot-tweet";

screenshotTweet(
  "https://twitter.com/reactjs/status/912712906407501825",
  "tweet.jpg"
).then(() => {
  console.log("Success");
}).catch(error => {
  console.error("Error");
});

If filePath is omitted, the Promise will resolve with a Buffer containing the screenshot data.

CLI

Execute screenshot-tweet from the command line with the following arguments:

$ screenshot-tweet TWEET_URL FILE_PATH

Example:

$ screenshot-tweet https://twitter.com/reactjs/status/912712906407501825 tweet.jpg
Popular Tweets Projects
Popular Twitter Projects
Popular Social Media Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Command Line
Twitter
Promise
Screenshot
Tweets
Filesystem