Matt Borja 
							
						 
					 
					
						
						
							
						
						640a6d0cb2 
					 
					
						
						
							
							Improve error handling for read-only applications ( #709 )  
						
						 
						
						... 
						
						
						
						Applications pending approval will return a different response body than what is presently supported.
Below is a copy of the actual response that comes back in this scenario:
```
{"status":401,"rateLimitTimeout":null,"body":{"request":"/1.1/statuses/update.json","error":"Read-only application cannot POST."}}
```
Whereas the current implementation assumes the presence of an `errors` array, reading off the first element (i.e. `result.body.errors[0]`), the above scenario throws an exception as `result.body.errors` is now `undefined` and cannot be indexed).
The proposed update seeks to account for this while retaining existing functionality and has been tested (error message in debug now properly says "Read-only application cannot POST." 
						
						
					 
					
						2020-11-11 11:26:56 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						e20cf97fce 
					 
					
						
						
							
							A whole bunch of whitespace linting - no functional changes  
						
						 
						
						
						
						
					 
					
						2019-08-11 13:37:15 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						f74f3402e3 
					 
					
						
						
							
							let twitter node DM using D or d  
						
						 
						
						... 
						
						
						
						to close  #493  
						
						
					 
					
						2018-10-01 17:31:18 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						35cbcb3345 
					 
					
						
						
							
							Reset since_id if twitter tells us its invalid  
						
						 
						
						
						
						
					 
					
						2018-08-17 09:18:53 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						903a123049 
					 
					
						
						
							
							Reset twitter polling on any api errors  
						
						 
						
						
						
						
					 
					
						2018-08-16 14:45:54 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						42cd6131b2 
					 
					
						
						
							
							big twitter node update for api changes  
						
						 
						
						
						
						
					 
					
						2018-08-15 15:23:12 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						1c1b53425f 
					 
					
						
						
							
							Fix tweet with image  
						
						 
						
						
						
						
					 
					
						2018-06-08 12:55:19 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						aaf93ab587 
					 
					
						
						
							
							Handle upgrade from old to new twitter node better  
						
						 
						
						
						
						
					 
					
						2018-06-07 12:07:01 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						235831b464 
					 
					
						
						
							
							Major update to twitter node for auth changes  
						
						 
						
						
						
						
					 
					
						2018-06-07 11:25:25 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						38e469464f 
					 
					
						
						
							
							Add deprecation warnings to twitter node  
						
						 
						
						
						
						
					 
					
						2018-05-25 13:16:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						989c7147cb 
					 
					
						
						
							
							lint catch es6 escapes in core nodes  
						
						 
						
						... 
						
						
						
						to fix twitter node and sqlite node 
						
						
					 
					
						2018-05-18 18:40:14 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								eRudy 
							
						 
					 
					
						
						
							
						
						17744a51c0 
					 
					
						
						
							
							temporary solution for direct messages ( #415 )  
						
						 
						
						... 
						
						
						
						* DMs are coming back :) 
						
						
					 
					
						2018-03-29 09:42:22 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ben Hardill 
							
						 
					 
					
						
						
							
						
						482cfea1de 
					 
					
						
						
							
							Bump twitter to 280 chars ( #372 )  
						
						 
						
						... 
						
						
						
						To close  #371  
Thanks @hardillb 
						
						
					 
					
						2017-11-10 15:15:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						38d16b8a4d 
					 
					
						
						
							
							Tidy up listing for some nodes. No functional changes  
						
						 
						
						... 
						
						
						
						to make listing task pass 
						
						
					 
					
						2017-04-12 13:32:08 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						9be6545739 
					 
					
						
						
							
							Twitter node: remove auth requirement on oauth callback routes  
						
						 
						
						... 
						
						
						
						Fixes  #253  
						
						
					 
					
						2017-03-15 09:58:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						316a2fd272 
					 
					
						
						
							
							Re-lint a load of nodes  
						
						 
						
						
						
						
					 
					
						2017-01-29 17:45:44 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						1bfda975ef 
					 
					
						
						
							
							Add events to Twitter node  
						
						 
						
						... 
						
						
						
						to close  #126 
Thanks @ukmoose
(sorry had to do it manually) 
						
						
					 
					
						2016-11-12 11:43:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						7917ca8dcf 
					 
					
						
						
							
							Fix missing httpAdmin permissions for Pushbullet, twitter what3words and sensehatsim  
						
						 
						
						... 
						
						
						
						fixes  #244  
						
						
					 
					
						2016-11-06 20:27:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						cebeab02f9 
					 
					
						
						
							
							toggle twitter limit rate status back if not limited anymore  
						
						 
						
						
						
						
					 
					
						2016-09-30 21:21:44 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						3ff0b6a761 
					 
					
						
						
							
							More twitter rate fixes, Redo input pin logic  
						
						 
						
						
						
						
					 
					
						2016-09-30 20:38:05 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						8a03773567 
					 
					
						
						
							
							better global handling of twitter rate limits  
						
						 
						
						... 
						
						
						
						and make status messages i18n 
						
						
					 
					
						2016-09-30 17:00:20 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						5d7d7e9d24 
					 
					
						
						
							
							back off twitter retry to twitter recommended 60s  
						
						 
						
						
						
						
					 
					
						2016-09-30 11:13:38 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						741d3db06b 
					 
					
						
						
							
							clear twitter reconnect timeout to  close   #237  
						
						 
						
						
						
						
					 
					
						2016-09-30 08:54:55 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						eeb1189092 
					 
					
						
						
							
							Tidy up twitter node info  
						
						 
						
						... 
						
						
						
						and re-order code to make more logical. (or at least readable) 
						
						
					 
					
						2016-09-29 23:30:13 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						c456f89441 
					 
					
						
						
							
							twitter followed users now does what it says...  
						
						 
						
						
						
						
					 
					
						2016-09-28 17:09:58 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						c04ca47804 
					 
					
						
						
							
							fix twitter node to have 1 input :-(  
						
						 
						
						... 
						
						
						
						and tidy up statuses 
						
						
					 
					
						2016-09-27 21:21:28 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						2c49832bda 
					 
					
						
						
							
							injecting blank payload stops twitter stream  
						
						 
						
						
						
						
					 
					
						2016-09-27 18:03:54 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						4c5b75f30a 
					 
					
						
						
							
							Tidy up twitter node, add status, i18n etc  
						
						 
						
						
						
						
					 
					
						2016-09-27 17:56:35 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								smchamberlin 
							
						 
					 
					
						
						
							
						
						b0c93e44b8 
					 
					
						
						
							
							Twitter node: Add support for search terms passed in through msg.payload ( #235 )  
						
						 
						
						... 
						
						
						
						* Add support for search terms passed in through msg.payload
* Add support for dynamic left ping connector
* Suggestions from David Conway-Jones
* Better error message
* Add green status indicator when msg.payload is dynamically passed in and revised warning messages 
						
						
					 
					
						2016-09-27 17:34:04 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andy Piper 
							
						 
					 
					
						
						
							
						
						d54027e324 
					 
					
						
						
							
							fix for OAuth on older browsers (e.g. Epiphany on Pi)  
						
						 
						
						
						
						
					 
					
						2015-12-07 17:41:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						9a45cce3b7 
					 
					
						
						
							
							Fix lint error in twitter node  
						
						 
						
						
						
						
					 
					
						2015-10-25 21:35:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						d782a5afb6 
					 
					
						
						
							
							Allow twitter out node to specify extra parameters  
						
						 
						
						... 
						
						
						
						to close  #119 . Thanks @sacbhale 
						
						
					 
					
						2015-09-04 09:20:37 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dave Conway-Jones 
							
						 
					 
					
						
						
							
						
						f385c13d44 
					 
					
						
						
							
							bump package versions of i18n nodes  
						
						 
						
						... 
						
						
						
						twitter, feed parser, email, and rbe 
						
						
					 
					
						2015-07-14 23:03:46 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						ee5ff8b010 
					 
					
						
						
							
							Send status message id to be nls'd in editor  
						
						 
						
						
						
						
					 
					
						2015-07-07 21:31:28 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								dceejay 
							
						 
					 
					
						
						
							
						
						ba0e2c3796 
					 
					
						
						
							
							Merge linting error fixes into i18n branch of n-r-n  
						
						 
						
						
						
						
					 
					
						2015-06-16 14:38:36 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nick O'Leary 
							
						 
					 
					
						
						
							
						
						7d011dac99 
					 
					
						
						
							
							Add i18n content for moved core nodes  
						
						 
						
						
						
						
					 
					
						2015-06-16 10:36:19 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								dceejay 
							
						 
					 
					
						
						
							
						
						8a83618618 
					 
					
						
						
							
							Add Twitter to node-red-nodes. fix lint etc  
						
						 
						
						
						
						
					 
					
						2015-06-13 18:53:02 +01:00