How do i stream direct message in nodejs, now I trying to use that https://github.com/ttezel/twit#event-direct_message but seems to not work, you have another solution ?

var stream = T.stream('user');
 
stream.on('direct_message', function (eventMsg) {
  console.log(eventMsg);
});

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.