Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fetch tweets for a specific Twitter user?

What is the protocol of getting the tweets of a user from Twitter?

Let's say I want to write a program that follows a Twitter account and read all its tweets. What is the protocol that needs to be implemented in order to fetch the entries of a Twitter user.

edit: i found this:

https://dev.twitter.com/docs/api/1/get/lists/show

what is "slug" ?

like image 819
none Avatar asked Mar 09 '26 16:03

none


1 Answers

The Twitter API is a RESTful HTTP API. The only protocol involved is HTTP. The payload is most commonly JSON. You can read about the entire RESTful API here: https://dev.twitter.com/docs/api

For your purposes, you would need to use the GET statuses/user_timeline resource. You can specify which user to retrieve by using the screen_name parameter.

like image 52
Louis Marascio Avatar answered Mar 12 '26 07:03

Louis Marascio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!