twitter-lite
twitter-lite copied to clipboard
A tiny, full-featured, flexible client / server library for the Twitter API
It would be great if the `client.post(endpoint, parameters)` method allowed sending multipart form data, e.g for [media upload](https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/post-media-upload-append). One way to do it, and put the responsibility on the user,...
Hi there, We send the tweet with .post method but in most of tweets, the card of the URL is not created. Is there a solution for creating cards of...
The documentation is clear on how to add parameters with Twitter's API v1.1 `const parameters = {` `track: "#bitcoin,#litecoin,#monero",` `follow: "422297024,873788249839370240", // @OrchardAI, @tylerbuchea` `locations: "-122.75,36.8,-121.75,37.8", // Bounding box -...
First off thanks to you all for devloping such a helpful library. I really appreciate it. I'm making a call to a users timeline to retrieve mentions. When the rate...
This issue is meant to track support for these new Twitter APIs; #50 and #55 are subsumed under this issue. Because we already support GET, POST, and PUT requests to...
There declaration in `index.d.ts` ```ts export default class Twitter { ``` But without this PR it is impossible to import this way ```ts import Twitter from 'twitter-lite' ``` Because for...
This PR expands the current Typescript typings for better VSCode Intellisense and using the library in general. Here is a demo of the said expanded typings on Visual Studio Code...
Initializing a new client with App authentication creates an TypeScript error: ```ts new Twitter({ bearer_token: 'abc' }); ``` ``` Argument of type '{ bearer_token: string; }' is not assignable to...
I found the new Twitter Labs filter stream (https://developer.twitter.com/en/docs/labs/filtered-stream/overview) to be more fitting for my use case so I decided to add it as several new function API calls In...
Hi!, I was trying to upload an image and post a twit for a quite long and I was getting error code 32 (authentication issue), and I wasn't able to...