twitter_api_v2 1.7.0 copy "twitter_api_v2: ^1.7.0" to clipboard
twitter_api_v2: ^1.7.0 copied to clipboard

outdated

The lightweight and powerful wrapper library for Twitter API v2.0 written in Dart language. It works cross-platform.

Release Note #

v1.7.0 #

  • Added Tweets Timelines endpoints. (#11)
    • GET /2/users/:id/mentions
    • GET /2/users/:id/tweets
  • Added Users Blocks endpoints. (#20)
    • DELETE /2/users/:source_user_id/blocking/:target_user_id
    • GET /2/users/:id/blocking
    • POST /2/users/:id/blocking
  • Added Lists Pinnings endpoints. (#31)
    • DELETE /2/users/:id/pinned_lists/:list_id
    • GET /2/users/:id/pinned_lists
    • POST /2/users/:id/pinned_lists
  • Added Lists Tweet Lookup endpoint. (#26)
    • GET /2/lists/:id/tweets

  • Refactored method names. Prefixes for methods that perform GET communication other than the search endpoint have been unified with lookup. This makes it a destructive change, but please refer to the following correspondence table for details of the change.
    • Tweets Service
      • From likingUsers to lookupLikingUsers
      • From likingTweets to lookupLikedTweets
      • From retweetedBy to lookupRetweetedUsers
      • From quoteTweets to lookupQuoteTweets
      • From bookmarks to lookupBookmarks
    • Users Service
      • From followers to lookupFollowers
      • From followings to lookupFollowings
      • From mutingUsers to lookupMutingUsers
    • Lists Service
      • From pinnedLists to lookupPinnedLists

v1.6.0 #

  • Fixed a bug in DELETE communication.
  • Improved error message from TwitterException. (#93)
  • Added Batch Compliance endpoints. (#32)
    • GET /2/compliance/jobs
    • GET /2/compliance/jobs/:id
    • POST /2/compliance/jobs
  • Added Users Mutes endpoints. (#22)
    • DELETE /2/users/:source_user_id/muting/:target_user_id
    • GET /2/users/:id/muting
    • POST /2/users/:id/muting
  • Added Tweets Hide Replies endpoints. (#5)
    • PUT /2/tweets/:id/hidden

v1.5.0 #

  • Renamed method name in TweetsService. (#79)
    • Renamed method from tweetsService.lookupTweet to tweetsService.lookupById.
    • Renamed method from tweetsService.lookupTweets to tweetsService.lookupByIds.
  • Added Spaces Lookup endpoints. (#25)
    • GET /2/spaces
    • GET /2/spaces/:id
    • GET /2/spaces/:id/buyers
    • GET /2/spaces/:id/tweets
    • GET /2/spaces/by/creator_ids
  • Added Lists Lookup endpoints. (#28)
    • GET /2/lists/:id
    • GET /2/users/:id/owned_lists

v1.4.0 #

  • Fixed response handling.
    • The HTTP status of a response was regarded as an exception for data other than 200, but the HTTP status in the 200s is now regarded as a normal completion.
  • Improved and added parameters for endpoints already implemented in this library. (#66)
    • Added parameters to tweetsService.createTweet.
      • quoteTweetId
      • forSuperFollowersOnly
    • Added a parameter to tweetsService.linkingUsers.
      • maxResults
    • Added a parameter to tweetsService.linkingTweets.
      • maxResults
    • Added a parameter to tweetsService.retweetedBy.
      • maxResults
    • Added a parameter to tweetsService.quoteTweets.
      • maxResults
    • Added a parameter to tweetsService.searchRecent.
      • maxResults
    • Added a parameter to tweetsService.searchAll.
      • maxResults
    • Added a parameter to usersService.followers.
      • maxResults
    • Added a parameter to usersService.followings.
      • maxResults

v1.3.0 #

  • Improved the error message from TwitterException. (#48)
  • Added previousToken to tweet_meta and tweet_count_meta, and added paginationToken or nextToken argument for endpoints that support pagination. (#60)
  • Added previousToken to user_meta, and added paginationToken argument for endpoints that support pagination. (#60)

v1.2.0 #

  • Fixed typo from tweetService to tweetsService in TwitterApi.
  • Improved error handling. (#41)

v1.1.0 #

  • Added Tweet Counts endpoints. (#12)
    • GET /2/tweets/counts/all
    • GET /2/tweets/counts/recent
  • Added Tweet Bookmarks endpoints. (#2)
    • GET /2/tweets/counts/all
    • GET /2/tweets/counts/recent
  • Added Users Lookup endpoints. (#23)
    • GET /2/users
    • GET /2/users/:id
    • GET /2/users/by
    • GET /2/users/by/username/:username
    • GET /2/users/me
  • Added Spaces Search endpoints. (#23)
    • GET /2/spaces/search

v1.0.0 #

  • Specification changes and improvements have been made to the authentication method. (#44)
  • Added Quote Tweets endpoint. (#8)
    • GET /2/tweets/:id/quote_tweets
  • Added Tweets Search endpoints. (#10)
    • GET /2/tweets/search/all
    • GET /2/tweets/search/recent
  • Added Tweets Lookup endpoints. (#13)
    • GET /2/tweets
    • GET /2/tweets/:id

v0.1.0 #

  • Added Tweets Likes endpoints. (#6)
    • DELETE /2/users/:id/likes/:tweet_id
    • GET /2/tweets/:id/liking_users
    • GET /2/users/:id/liked_tweets
    • POST /2/users/:id/likes
  • Added Tweets Manage endpoints. (#7)
    • DELETE /2/tweets/:id
    • POST /2/tweets
  • Added Tweets Retweet endpoints. (#9)
    • DELETE /2/users/:id/retweets/:source_tweet_id
    • GET /2/tweets/:id/retweeted_by
    • POST /2/users/:id/retweets
  • Added Users Follows endpoints. (#21)
    • DELETE /2/users/:source_user_id/following/:target_user_id
    • GET /2/users/:id/followers
    • GET /2/users/:id/following
    • POST /2/users/:id/following

v0.0.1 #

  • First Release
71
likes
0
pub points
85%
popularity

Publisher

verified publishershinyakato.dev

The lightweight and powerful wrapper library for Twitter API v2.0 written in Dart language. It works cross-platform.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

freezed_annotation, http, json_annotation, oauth1

More

Packages that depend on twitter_api_v2