desmondmorris / node-twitter

Client library for the Twitter REST and Streaming API's.
https://www.npmjs.com/package/twitter
MIT License
1.27k stars 237 forks source link

Callback is never called #213

Closed bgradin closed 7 years ago

bgradin commented 7 years ago
    const client = new Twitter({
      consumer_key: consumerKey,
      consumer_secret: consumerSecret,
      access_token_key: accessToken,
      access_token_secret: accessTokenSecret,
    });

    client.get('statuses/home_timeline', {
      count: 100,
      exclude_replies: true,
    }, function(error, tweets, response) {
      this.tweets = tweets;
    });

This is running in an electron application. The callback passed in to get is never getting called. When I look at network traffic using Charles, I don't see any calls to the twitter API.

bgradin commented 7 years ago

disregard