Rishikant181 / Rettiwt-API

A CLI tool and an API for fetching data from Twitter for free!
https://rishikant181.github.io/Rettiwt-API/
MIT License
305 stars 31 forks source link

The number of uploaded images should be limited to 4 #446

Closed yiliang114 closed 4 months ago

yiliang114 commented 5 months ago

Otherwise, the upload fails. Although the interface returns true, it is successful, but the actual release is not successful.

image
Rishikant181 commented 5 months ago

So Twitter allows upto a max of 4 images, is that correct?

yiliang114 commented 5 months ago

Yes. I also found it only after uploading 5 pictures through the interface. At first, I was very confused. The interface clearly returned true, but it was not released successfully.

image

Rishikant181 commented 5 months ago

Working on a patch right now.

yiliang114 commented 5 months ago

Working on a patch right now.

Your efficiency is too high!

Rishikant181 commented 5 months ago

Patch might take some time since introduction of inferring media types while uploading is required.

In the meantime, it must be noted that at most 4 images or 1 GIF can be uploaded in a single Tweet.