0

I've never used twitter before and I need to implement the Twitter Rest API. I need to read all the tweets from one page (example: here) with my application.

Now I'm reading the documentation and I can't figure out which endpoint I have to use for this.

Can someone point me out with which endpoint I have to use?

Documentation.

Priyantha
  • 4,839
  • 6
  • 26
  • 46
stef morren
  • 289
  • 2
  • 5
  • 15

1 Answers1

3

Some examples

A user timeline https://twitter.com/azure -> https://dev.twitter.com/rest/reference/get/statuses/user_timeline

Your home timeline https://twitter.com/ -> https://dev.twitter.com/rest/reference/get/statuses/home_timeline

A tweet permalink https://twitter.com/Azure/status/898616738396332033 -> https://dev.twitter.com/rest/reference/get/statuses/show/id

Yuri Schimke
  • 12,435
  • 3
  • 35
  • 69
  • Thank you the user timeline is the one I needed. Your help is appreciated. – stef morren Aug 28 '17 at 13:47
  • When I'm using the user timeline endpoint, it returns the tweets & replies section. Is it possible to only return the Tweets section? – stef morren Aug 28 '17 at 13:59
  • @stefmorren - you can specify parameter `exclude_replies` to `true` or `1` i your request to exclude replies from the response. To exclude Retweets from response specify `include_rts` to `false` or `0` – prograshid Aug 29 '17 at 18:42