geduldig / TwitterAPI

Minimal python wrapper for Twitter's REST and Streaming APIs
936 stars 263 forks source link

fix(TwitterAPI): Use the json attribute to attach metadata #225

Closed ERosendo closed 1 year ago

ERosendo commented 1 year ago

This PR tweaks the request method to use the json attribute instead of the data attribute to attach additional metadata using the media/metadata/create endpoint from the v1.1 API.

This PR fixes https://github.com/geduldig/TwitterAPI/issues/224