{"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,"search_vec":"'0.1.0':22 'access':45,48 'account':37 'add':9 'allow':14 'auth':4 'authent':12 'behalf':17 'built':28 'built-in':27 'consum':41,43 'credenti':13 'custom':5 'dynam':3,10,54 'execut':58 'expos':40 'field':50 'initi':23 'integr':65 'javascript':73 'key':42 'multi':62 'multi-ten':61 'multipl':19 'n8n':1,6 'node':7,31,39 'per':56 'provid':69 'releas':24 'request':15 'secret':44,49 'set':55 'singl':35 'static':36 'tenant':63 'token':46,72 'twitter':2,11,30,64 'unlik':25 'use':33,59 'user':20,68 'version':21 'workflow':57","created_at":"2026-04-25T07:39:05.510482+00:00","updated_at":"2026-04-25T07:39:05.510482+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":"https://n8n.io","github":"https://github.com/rayhantr/n8n-nodes-twitter-dynamic-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/n8n-nodes-twitter-dynamic-auth","openapi_spec":null,"status_page":null,"smithery":null,"categories":["communication","auth-security"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}