i want to check if user oAuth my app .. .. else allow user to oAuth app
Currently Tweetinvi is using the
class to store the credentials of both a User and an Application.
This TokenCredentials are stored within a
that will be responsible to generate and perform the queries.
class currently provide only 1 type of solution to enable a User to authorize an App to access to its account by generating a Token class from which you can access the TokenCredentials.
When you have the Token created you can store the TokenCredentials and use them at their next session.
Twitter provides an automatic redirect solution which is not implemented by Tweetinvi today but it is planned and will be available in future releases.
"if yes i want to push a status update" / "I want to check if the status published or not"
To push a status, you simply have to create a Tweet like this :
ITweet newTweet = new Tweet("myTweetMessage", token);
bool hasBeenSuccessfullyPublished = newTweet.Publish();
You can find all the examples you need in the
I hope this answers your questions.