-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got an error while authenticating #1
Comments
Hi - this will be related to one of the config options in your Twitter Application on https://apps.twitter.com/ You have it configured as a Desktop application. I can't remember the right option and am not currently able to go find out. See if you have tinker with the options to find the right bit to set. If you do manage to track it down before I'm able to look properly, please let me know and we can update the readme to make it clear. |
Found the solution at https://stackoverflow.com/questions/21170531/desktop-applications-only-support-the-oauth-callback-value-oob-oauth-request-t This solves issue node-red#1
Hi, I have installed Node-RED on Windows and installed node-red-auth-twitter. I have added the adminAuth code in the settings.js file after creating a twitter app and obtaining key/secret. But when I run npm start I get an error. I have tried various syntax combinations to try and overcome the error, can you shed any light on what I am doing wrong? `C:\Users\anwar\node-red>npm start
Error loading settings file: \Users\anwar.node-red\settings.js SyntaxError: Unexpected identifier C:\Users\anwar\node-red>` I am not doing anything to functionGlobalContext, just pasted the code exactly as shown... I placed to code directly below the //Securing Node-RED comments |
Make sure there is a comma separating adminAuth and functionGlobalContext (And please don't post questions to unrelated issues. Use the node-red forum for general help.. link on the website.) |
Hi, Apologies for posting here instead of node-red forum, I placed a comma after the final bracket, and now the program runs - much obliged :) Kind Regards |
I've followed the steps in the readme: installed module, added config and set my API key and secret. When trying to authenticate with Twitter, I get the following error message:
The text was updated successfully, but these errors were encountered: