# Major update to Twitter node coming

**URL:** https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246
**Category:** News
**Created:** [19 May 2018 08:38 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246 "2018-05-19T08:38:05Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [19 May 2018 08:38 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/1 "2018-05-19T08:38:05Z")

</div>

Hi,

Twitter have [recently announced](https://twittercommunity.com/t/building-on-site-streams-user-streams-or-direct-messages-action-required-to-preserve-and-prevent-disruption-to-your-twitter-integration/105736) some [changes](https://twittercommunity.com/t/sign-in-with-twitter-users-must-whitelist-callback-urls/105342) to the APIs they provide. These will impact the functionality the Twitter node we provide is able to offer.

Most of the changes don’t come in to effect until August, but one set of changes are being made with only 30 days notice. And as we’re only just become aware of them, we only have 20 days left to respond.

Unfortunately, the [change that is coming](https://twittercommunity.com/t/sign-in-with-twitter-users-must-whitelist-callback-urls/105342) in 20 days time is the most disruptive - it will prevent the existing Twitter node from signing in to the API and prevent it from working.

We will be working on a fix - but it will be a disruptive change to the node. When we publish the new version of the Twitter node and announce it here, not only will you have to update the node module, but you’ll also have to take additional steps to authenticate your twitter nodes.

I apologise for the inconvenience this will bring. This is a reality of maintaining nodes for other people’s APIs.

Nick

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [19 May 2018 22:59 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/3 "2018-05-19T22:59:32Z")

</div>

The change to the sign-up api of Twitter means the node will no longer be able to provide the one-click authentication button.

Instead, a user will be required to register their own application with Twitter and generate a set of keys and access tokens for it. These keys will then have to be manually copied into the nodes edit dialog.

Here is what the new Twitter credentials node will look like:

 ![Cursor_and_My_Node-RED](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/72a5fd0490c0bf912bd09ba75d4408414483ca8d.png)

---

<div class="post-metadata">

### Author: ![deedos](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/deedos/32/236_2.png) [@deedos](https://discourse.nodered.org/u/deedos)
#### Post date: [22 May 2018 20:41 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/4 "2018-05-22T20:41:55Z")

</div>

Many thanks for the quick run for that!  
I think it’s a very simple thing to do, as a user perspective, to maintain twitter usage.

thanks

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [25 May 2018 12:38 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/5 "2018-05-25T12:38:38Z")

</div>

Version 0.1.15 of the Twitter node has just been published. This is a minor version bump that adds in some very clear and obvious warnings about the imminent Twitter API changes.

We will have Version 1.0.0 of the Twitter node available before the June 12th deadline.

---

<div class="post-metadata">

### Author: ![gmag11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gmag11/32/477_2.png) [@gmag11](https://discourse.nodered.org/u/gmag11)
#### Post date: [6 June 2018 21:26 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/6 "2018-06-06T21:26:01Z")

</div>

Hi maybe this should be not asked here. Sorry for that if so.

I'm trying to update twitter node and get a "Module not locally installed" error.

I've been looking for any solution on forums without success.

![imagen](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/0f705eb4349c973e0d973ac405ad08198ebf9e0a.png)

I've tried to remove node-red-node-twitter both locally and globally but it is still on nodered palette.

May you give me any clue to be able to update this node?

---

<div class="post-metadata">

### Author: ![gmag11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gmag11/32/477_2.png) [@gmag11](https://discourse.nodered.org/u/gmag11)
#### Post date: [6 June 2018 21:44 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/7 "2018-06-06T21:44:09Z")

</div>

I answer myself. It was installed on /usr/local/lib/node\_modules/node-red/.

I’ve uninstalled the module and installed using palette manager.

Thanks

---

<div class="post-metadata">

### Author: ![RickW](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@RickW](https://discourse.nodered.org/u/RickW)
#### Post date: [19 July 2018 07:21 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/8 "2018-07-19T07:21:04Z")

</div>

I have this same error:  
Failed to update: node-red-node-twitter  
Module not locally installed  
Check the log for more information

I can't find where mine is installed. It is not in the path shown here.

"Manage Palette" only offers to update to V1.0.1 or disable all

I can't see how I can delete it so could do a fresh install or update it

Any thoughts please?  
Thank you

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [19 July 2018 07:55 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/9 "2018-07-19T07:55:12Z")

</div>

Try using these commands on a command line

`cd ~/.node-red`  
`npm uninstall -g node-red-node-twitter --save`

---

<div class="post-metadata">

### Author: ![RickW](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@RickW](https://discourse.nodered.org/u/RickW)
#### Post date: [19 July 2018 08:07 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/10 "2018-07-19T08:07:37Z")

</div>

Thank you for the suggestion.  
This is what I get.

pi@tcp101:~ $ npm uninstall -g node-red-node-twitter --save  
npm WARN uninstall not installed in /usr/local/lib/node\_modules: "node-red-node-twitter"

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [19 July 2018 08:09 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/11 "2018-07-19T08:09:41Z")

</div>

I edited to add the bit about changing the directory to .node-red.

---

<div class="post-metadata">

### Author: ![RickW](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@RickW](https://discourse.nodered.org/u/RickW)
#### Post date: [19 July 2018 08:10 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/12 "2018-07-19T08:10:15Z")

</div>

I did also change the directory but got the same result.

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [19 July 2018 08:14 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/13 "2018-07-19T08:14:56Z")

</div>

If you  
`cd /usr/local/lib/node_modules`

and  
`ls -altr`

is there a node-red directory? If there is cd into it and repeat the ls command

---

<div class="post-metadata">

### Author: ![RickW](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@RickW](https://discourse.nodered.org/u/RickW)
#### Post date: [19 July 2018 08:20 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/14 "2018-07-19T08:20:53Z")

</div>

Thank you

I did also find a pointer to that path somewhere else.  
In my system there are only python folders in /usr/local/lib

no node\_modules to be seen.

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [19 July 2018 08:30 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/15 "2018-07-19T08:30:10Z")

</div>

What version of node-red and nodejs are you using? (it tells you when you start node-red via a command line)

---

<div class="post-metadata">

### Author: ![RickW](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@RickW](https://discourse.nodered.org/u/RickW)
#### Post date: [19 July 2018 08:35 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/16 "2018-07-19T08:35:55Z")

</div>

# Welcome to Node-RED

19 Jul 18:34:26 - [info] Node-RED version: v0.18.6  
19 Jul 18:34:26 - [info] Node.js version: v4.8.2  
19 Jul 18:34:26 - [info] Linux 4.14.52-v7+ arm LE  
19 Jul 18:34:27 - [info] Loading palette nodes  
19 Jul 18:34:32 - [info] Dashboard version 2.9.6 started at /ui  
19 Jul 18:34:34 - [info] Settings file : /home/pi/.node-red/settings.js  
19 Jul 18:34:34 - [info] User directory : /home/pi/.node-red  
19 Jul 18:34:34 - [warn] Projects disabled : editorTheme.projects.enabled=false  
19 Jul 18:34:34 - [info] Flows file : /home/pi/.node-red/flows\_tcp101.json  
19 Jul 18:34:34 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
19 Jul 18:34:34 - [warn]

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [19 July 2018 21:45 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/17 "2018-07-19T21:45:25Z")

</div>

try the instructions listed here [New Twitter node available - upgrade \*required\*](https://discourse.nodered.org/t/new-twitter-node-available-upgrade-required/664)

---

<div class="post-metadata">

### Author: ![RickW](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@RickW](https://discourse.nodered.org/u/RickW)
#### Post date: [19 July 2018 22:24 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/18 "2018-07-19T22:24:21Z")

</div>

I have tried following those instructions.

The part that says it will identify where the node twitter files are comes back with nothing.  
I am in this loop of roadblocks.

Node-red is running on a Raspberry Pi.  
I have done all platform updates and installed NPM.

The Twitter node is part of the original Raspian node-red. It shows in NPM as being installed, it also shows an upgrade available but the upgrade fails and reports as above.  
The only other option is to disable. There is no option to delete.

I think there are many aspects of Node-RED that are great, but it seems that when something goes wrong and is not handled by the GUI the back end of things is a rats nest.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [20 July 2018 00:17 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/19 "2018-07-20T00:17:45Z")

</div>

You are still on the very old version of nodejs. If you run the update script from the docs it will update that, but also move the twitter node to a place where you can then upgrade it.

---

<div class="post-metadata">

### Author: ![RickW](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@RickW](https://discourse.nodered.org/u/RickW)
#### Post date: [20 July 2018 01:07 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/20 "2018-07-20T01:07:18Z")

</div>

Thank you dceejay

That was a very dignified process and has solved my problem, thank you.

I thought having done apt-get update and upgrade a number of times I would have had all the current versions of things.

This process was very smooth with nice documentation and indication of what it was doing.

Much appreciated.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [20 July 2018 06:19 UTC](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246/21 "2018-07-20T06:19:01Z")

</div>

You’re welcome. Apt should have updated node.js ( if you are on Stretch version of Raspbian) but it wouldn’t tidy up the nodes. Which is what you needed in order to upgrade Twitter easily.

[Next page](https://discourse.nodered.org/t/major-update-to-twitter-node-coming/246.md?page=2)
