friendshipsNoRetweetsIds method

Future<List<int>> friendshipsNoRetweetsIds({
  1. TransformResponse<List<int>> transform = defaultIntListTransform,
})

Returns a collection of userIds that the currently authenticated user does not want to receive retweets from.

Use friendshipsUpdate to set the "no retweets" status for a given user account on behalf of the current user.

See https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-no_retweets-ids.

Implementation

Future<List<int>> friendshipsNoRetweetsIds({
  TransformResponse<List<int>> transform = defaultIntListTransform,
}) async {
  return client
      .get(Uri.https(
          'api.twitter.com', '1.1/friendships/no_retweets/ids.json'))
      .then(transform);
}