himura / twitter-conduit

Twitter API package for Haskell, including enumerator interfaces and Streaming API supports.
BSD 2-Clause "Simplified" License
158 stars 48 forks source link

Extend to add "tweet_mode" parameter #72

Closed Javran closed 4 years ago

Javran commented 4 years ago

This allows client to set tweet_mode=extended on related APIs, which I believe are all those that returns Status, or structures that contain Status.

For what this parameter does, see: https://developer.twitter.com/en/docs/tweets/tweet-updates.html.

This PR can be considered a partial fix to #60 - by partial I meant by setting tweet_mode=extended, compatibility mode streaming api will have an extra extended_tweet field as described in the official doc, but I have no access to that api nor a way of verifying it, so I'll just leave it be for now.