Getting Private Users Timeline


I have an website that gets a Users Timeline. I am getting an Authentication error when trying to get a private Users Timeline. How can I pass a users username and password to get Authentication to pull a private Users Timeline?


You can’t send a username/password to authenticate but you can have a user authorize access using the OAuth flow and requests authenticated with those credentials will be able to get private tweets for anyone they are approved to follow.


Are there any examples of how to implement that flow? I am using Node.