What would the API look like for the twitter client?


#1

As discussed before, there are 4 major operations we need to support:

  • Posting new tweets
  • Following a user
  • Favoriting a tweet
  • Get the feed for a user

Q: What would the API look like for the client?

#2

First argument of getUserFeed should be userId.


#3

Why do we need timestamp in crating new tweet in api