twittos

A Twitter Conversations fetcher.

Usage no npm install needed!

<script type="module">
  import twittos from 'https://cdn.skypack.dev/twittos';
</script>

README

Twittos

A small library providing a method to fetch a Twitter conversation. Inspired by adriancrepaz/acTwitterConversation.

Installation

npm install twittos --save

Usage

  var twittos = require('twittos')
  var tweetID = '123456789';
  fetchConversation(tweetID, function(replies) {
        console.log(replies);
      }));

Tests

npm test

Release History

  • 0.0.1 Initial release
  • 0.0.2 Handles parsing mutiple at_reply fields correctly
  • 0.0.3 Adds support for parsing avatar image URLs