Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js TwitterOAuth使用本地主机,但不使用https连接_Node.js_Twitter_Twitter Oauth - Fatal编程技术网

Node.js TwitterOAuth使用本地主机,但不使用https连接

Node.js TwitterOAuth使用本地主机,但不使用https连接,node.js,twitter,twitter-oauth,Node.js,Twitter,Twitter Oauth,我使用node.js作为后端。当我对它发出请求时,当回调url为http://localhost:3000/api/auth/twitter/success 但当回调url为时不工作。显示此客户端应用程序未批准的回调URL。但这两个回调url都被列入了白名单。实际上,它不适用于任何https,但适用于http。我不明白为什么会这样

我使用node.js作为后端。当我对它发出请求时,当回调url为http://localhost:3000/api/auth/twitter/success 但当回调url为时不工作。显示此客户端应用程序未批准的回调URL。但这两个回调url都被列入了白名单。实际上,它不适用于任何https,但适用于http。我不明白为什么会这样