How can I get more than 100 tweets?

Hi @dosbolsotsialkhan,

There are a few things you can do to try and achieve what you’re looking for. To answer your questions in order:

  1. You’re not currently able to export the response data, in that format, from the features within the app. But there’s more info on some options in this post here and this post here.

  2. If you want to get all the tweets from a specific Twitter user, you’ll need to know the user’s ID and then you’ll want to hit the Twitter API endpoint that allows you to search for tweets from a user ID. According to the Twitter API documentation here, you can get the most recent 3,200 tweets. Similar to the code for getting all the Tweets for a certain hashtag or search query that I linked above, you would just have to tweak it a bit to get all the Tweets from a specific user. You can fork the entire Twitter v2 collection for your convenience here.

  3. This would be a great place to make use of the Collection Runner and conditional logic in your Pre Request or Tests tabs like we used in the previous collection.

Hope that helps and good luck!