Twitter API in Async/Await for WinRT
-
Create an instance of TwitterWinRT with your consumerKey and consumerSecret for your App (the app need to have the right to read AND write tweets!!)
-
Check the AccessGranted property to detect if the user is already logued
-
If not, call
GainAccessToTwitter()
-
You can call:
a.
GetUserTimeline()
b.
GetTimeline()
c.
UpdateStatus(String status)
d.
GetProfil(void || int userId || string userName)
e.
Logout()