Last active
August 29, 2015 14:03
-
-
Save jz5/2fde7b8d3f81a3c6e83f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Main() | |
Dim t = Task.Factory.StartNew( | |
Async Function() | |
Dim auth = CreateSingleUserAuthorizer() | |
Await auth.AuthorizeAsync | |
Using ctx = New TwitterContext(auth) | |
Await ctx.TweetAsync("こんにちは") | |
End Using | |
End Function).Unwrap | |
t.Wait() | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment