title: Get all tweets and re tweets from Twitter API
body: <p>I am working with Twitter API and I am stuck on a problem. My problem is I cannot get all tweets and retweets from Twitter in response. I have read the documentation on twitter <a href="https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline.html" rel="nofollow noreferrer">link</a>. They have mentioned that <code>This method can only return up to 3,200 of a user’s most recent Tweets. Native retweets of other statuses by the user is included in this total, regardless of whether include_rts is set to false when requesting this resource.</code> </p>
  
  <p>But when I hitting <code>https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=xxxxx&amp;count=968</code>, I am getting only 198 records in response where I have 968 tweets.</p>
  
  <p>So Please help me to how I can get all records from Twitter in response and what parameters I have to pass in URL soi can get all tweets and retweets? </p>
  
  <p>Please suggest me for the better approach.</p>