@silverbirder/cotlin

Cotlin is tools that collect links in tweet by using the Twitter API(Search Tweets)

Usage no npm install needed!

<script type="module">
  import silverbirderCotlin from 'https://cdn.skypack.dev/@silverbirder/cotlin';
</script>

README

License: MIT npm download npm version npm bundle size github action Coverage Status twitter

Cotlin

Cotlin is tools that collect links in tweet by using the Twitter API(Search Tweets).

overview

There are some filtering functions.

  • Domain (ex. SlideShare)
  • Date Range (ex. 2020-01-01 ~ 2020-01-02)
  • Keywords (ex. #devops)

Use By Google Apps Script

  1. This tool uses Bearer Tokens. Follow the here to get Consumer API Key and Consumer API Secret Key.
  2. Access the Your Google Apps Script.
  3. Add the this library. (Cotlin)
    1. API ID is MPXXo-zG0agWiuZ0VceUiYXWuXGFJZPSs
  4. Use it like sample/api.js.
    1. Set the Script Property: CONSUMER_API_KEY, CONSUMER_API_SECRET_KEY.
  5. Follow here and publish the API.

Please refer sample/client.js for the client that calls the published API.

Use By TypeScript

This library is published by npm.
@silverbirder/Cotlin

$ npm install @silverbirder/cotlin

Motivation

At technical conferences, presentation materials are often published on twitter.
I often miss it and regret it. This tool allows you to collect slideshare, speackerDeck, and googlePresentation materials.

Caution

Tweet for the past 7 days uses Standard search API. Free.
Tweet for the past 30 days uses Premium search API 30day. Free if limited under sandbox environment.
Tweet for the past older uses Premium search API fullarchive. Free if limited under sandbox environment.