twittershots

n8n node to generate Twitter/X screenshots using TwitterShots API

Package Information

Released: 9/24/2025
Downloads: 17 weekly / 71 monthly
Latest Version: 0.3.0
Author: 0xinhua

Documentation

n8n TwitterShots node image

n8n-nodes-twittershots

A n8n node lets you easily screenshot X (Twitter) posts in your workflows with TwitterShots API.

  • TwitterShots is professional X/Tweet screenshot generator.
  • n8n is a fair-code licensed workflow automation platform.

Features

  • Multiple output formats (SVG, PNG, HTML)
  • Light/Dark theme support
  • Customizable logo options (X, bluebird, or none)
  • Configurable display options (full text, timestamp, view count, statistics)
  • Simple API integration

Authentication

Before using the node, you need to set up TwitterShots API credentials:

  1. Visit TwitterShots account to get your API key
  2. Add your API key to n8n credentials

For detailed information about API credentials and parameters, please refer to the API Documentation.

Usage

  1. Search TwitterShots and add TwitterShots node to your workflow
  2. Select "Tweet Screenshot" resource
  3. Select "Get a tweet screenshot" action
  4. Create TwitterShots API credentials
  5. Select Tweet Screenshot Resource
  6. Enter the tweet ID and configure output format and display options
  7. Run the workflow to get your screenshot

Dev and test node local

Prerequisites

You need the following installed on your development machine:

  • git
  • Node.js and npm. Minimum version Node 20. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL here. For Windows users, refer to Microsoft's guide to Install NodeJS on Windows.
  • Install n8n with:
    npm install n8n -g
    
  • Recommended: follow n8n's guide to set up your development environment.

1.Clone your new repo

git clone https://github.com/0xinhua/n8n-nodes-twittershots

2.When you are ready to test your node, publish it locally

# In your n8n-nodes-twittershots directory
npm i
npm run build
npm link
  1. Install the node into your local n8n instance:
# In the nodes directory within your n8n installation
npm link n8n-nodes-twittershots

4.Start n8n:

n8n start

5.Open n8n in your browser. You should see TwitterShots nodes when you search for them in the nodes panel.

Checkout full docs test n8n node.

Issues

If you need help or have any questions:

License

MIT

Discussion