Noob: How to authorise with username and password?

Jan 6, 2014 at 2:06 AM
Never having used your api nor oAuth could you should an example of how to authorise with just the consumer keys and a user's name and password?

Thanks.
Coordinator
Jan 7, 2014 at 12:03 PM
Hi,

Sorry for not responding before, I have missed your discussion when I checked yesterday.
Twitter requires a Token which authorizes an application to access to the account of a user.
To create a Token, Tweetinvi provides the TokenCreator class which will first give you a web location (on twitter.com) the user will have to go to enter its credentials.
When the user has validated the application Twitter will provide a key the user will have to enter in order for the TokenCreator to generate the Token.

There are examples in the Examplinvi project (to get Examplinvi download the source code). Also if you want more information concerning the TokenCreator you can go here.

For general information concerning the Token and how they are generated please look at this section.

Let me know if you have any other question or if you need more details.
Linvi