ChimeraCoder / anaconda

A Go client library for the Twitter 1.1 API
MIT License
1.14k stars 247 forks source link

Uploading large files #210

Open sjkaliski opened 6 years ago

sjkaliski commented 6 years ago

First off, love this project!

It seems that the Upload flow is missing two parts in order to support large/async file uploads.

  1. Specifying media_category in the INIT request
  2. Checking media status (Twitter API Docs). This enables the application to check if the media is processed before attaching to a tweet.

Is there plans to introduce this? I'm happy to submit a PR.

sjkaliski commented 6 years ago

https://github.com/ChimeraCoder/anaconda/pull/211