{"id":18587,"library":"n8n-nodes-twitter-dynamic-auth","title":"n8n Twitter Dynamic Auth","description":"Custom n8n node that adds dynamic Twitter authentication credentials, allowing requests on behalf of multiple users. Version 0.1.0, initial release. Unlike the built-in Twitter node which uses a single static account, this node exposes Consumer Key, Consumer Secret, Access Token, and Access Secret fields that can be dynamically set per workflow execution. Useful for multi-tenant Twitter integrations where each user provides their own tokens.","status":"active","version":"0.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/rayhantr/n8n-nodes-twitter-dynamic-auth","tags":["javascript"],"install":[{"cmd":"npm install n8n-nodes-twitter-dynamic-auth","lang":"bash","label":"npm"},{"cmd":"yarn add n8n-nodes-twitter-dynamic-auth","lang":"bash","label":"yarn"},{"cmd":"pnpm add n8n-nodes-twitter-dynamic-auth","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Named export of the credential class","wrong":"import TwitterDynamicAuth from 'n8n-nodes-twitter-dynamic-auth'","symbol":"TwitterDynamicAuth","correct":"import { TwitterDynamicAuth } from 'n8n-nodes-twitter-dynamic-auth'"},{"note":"Use named import for the node class","wrong":"const { TwitterDynamicAuthNode } = require('n8n-nodes-twitter-dynamic-auth')","symbol":"TwitterDynamicAuthNode","correct":"import { TwitterDynamicAuthNode } from 'n8n-nodes-twitter-dynamic-auth'"},{"note":"If the package exports helper constants; check package for actual exports","wrong":"","symbol":"credentialType","correct":"import { credentialType } from 'n8n-nodes-twitter-dynamic-auth'"}],"quickstart":{"code":"import { TwitterDynamicAuth, TwitterDynamicAuthNode } from 'n8n-nodes-twitter-dynamic-auth';\n\n// Register in n8n custom nodes folder\n// The node provides 4 credential fields\nconst credentials = {\n  consumerKey: process.env.TWITTER_CONSUMER_KEY || '',\n  consumerSecret: process.env.TWITTER_CONSUMER_SECRET || '',\n  accessToken: process.env.TWITTER_ACCESS_TOKEN || '',\n  accessSecret: process.env.TWITTER_ACCESS_SECRET || '',\n};\n\n// Use with n8n workflow\nconst node = new TwitterDynamicAuthNode();\nnode.execute({ credentials });\n","lang":"typescript","description":"Shows importing the node and setting dynamic credentials from environment variables"},"warnings":[{"fix":"Use n8n version 0.100.0 or later","message":"Requires n8n version that supports custom nodes (>=0.100.0)","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Use environment variables or n8n credential store","message":"Credential fields are exposed in plaintext in workflow definitions – avoid hardcoding secrets","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run 'npm install n8n-nodes-twitter-dynamic-auth' or 'npm link' in n8n custom nodes directory","cause":"Package not installed or not linked correctly","error":"Cannot find module 'n8n-nodes-twitter-dynamic-auth'"},{"fix":"Verify consumer key, consumer secret, access token, and access secret are correct and not expired","cause":"Invalid or expired token/secret combination","error":"Error: Twitter API returned 401 Unauthorized"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}