Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silverbirder/cotlin
Cotlin is tools that collect links in tweet by using the Twitter API(Search Tweets)
https://github.com/silverbirder/cotlin
clasp googleappsscript twitter
Last synced: about 1 month ago
JSON representation
Cotlin is tools that collect links in tweet by using the Twitter API(Search Tweets)
- Host: GitHub
- URL: https://github.com/silverbirder/cotlin
- Owner: silverbirder
- License: mit
- Created: 2020-02-17T12:45:39.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:14:55.000Z (about 1 year ago)
- Last Synced: 2024-04-14T18:11:53.887Z (10 months ago)
- Topics: clasp, googleappsscript, twitter
- Language: TypeScript
- Homepage:
- Size: 1.1 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
[](https://www.npmjs.com/package/@silverbirder/cotlin)
[](https://www.npmjs.com/package/@silverbirder/cotlin)
[](https://www.npmjs.com/package/@silverbirder/cotlin)
[](https://github.com/Silver-birder/Cotlin/actions)
[](https://coveralls.io/github/Silver-birder/Cotlin?branch=master)
[](https://twitter.com/silverbirder)# Cotlin
Cotlin is tools that collect links in tweet by using the [Twitter API(Search Tweets)](https://developer.twitter.com/en/docs/tweets/search/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](https://developer.twitter.com/en/docs/basics/authentication/oauth-2-0/bearer-tokens) to get Consumer API Key and Consumer API Secret Key.
1. Access the Your [Google Apps Script](https://script.google.com).
1. Add the this library. (Cotlin)
1. API ID is **MPXXo-zG0agWiuZ0VceUiYXWuXGFJZPSs**
1. Use it like [sample/api.js](https://github.com/Silver-birder/Cotlin/blob/master/sample/api.js).
1. Set the Script Property: CONSUMER_API_KEY, CONSUMER_API_SECRET_KEY.
1. Follow [here](https://developers.google.com/apps-script/api/how-tos/execute#step_1_deploy_the_script_as_an_api_executable) and publish the API.Please refer [sample/client.js](https://github.com/Silver-birder/Cotlin/blob/master/sample/client.js) for the client that calls the published API.
# Use By TypeScript
This library is published by npm.
[@silverbirder/Cotlin](https://www.npmjs.com/package/@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](https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets). Free.
Tweet for the past 30 days uses [Premium search API](https://developer.twitter.com/en/docs/tweets/search/api-reference/premium-search) 30day. Free if limited under sandbox environment.
Tweet for the past older uses [Premium search API](https://developer.twitter.com/en/docs/tweets/search/api-reference/premium-search) fullarchive. Free if limited under sandbox environment.