Node.js 使用flickr API的节点jsrequest

Node.js 使用flickr API的节点jsrequest,node.js,Node.js,我正在使用node js request函数访问flickr API的以下URL https://www.flickr.com/services/oauth/access_token?oauth_token=X&oauth_verifier=X&oauth_consumer_key=X&oauth_nonce=X&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1468959629921&oauth

我正在使用node js request函数访问flickr API的以下URL

https://www.flickr.com/services/oauth/access_token?oauth_token=X&oauth_verifier=X&oauth_consumer_key=X&oauth_nonce=X&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1468959629921&oauth_version=1.0&oauth_signature=X
由于某种原因,我得到了一个响应超时。您建议我如何解决此问题

这是密码

request(url, function (e, r, body) {
    if (!e && r.statusCode === 200) {
        var tokens = qs.parse(body);
        console.log('test1');
        var key = self.PLATFORM_TYPE + '_' + tokens.user_nsid;
        var user = {
            tokens: tokens,
            key: key,
            platform: self.PLATFORM_TYPE
        };
        deferred.resolve(user);
    } else {
        deferred.reject(body);
    }
});