Skip to content

Instantly share code, notes, and snippets.

@jz5
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jz5/2fde7b8d3f81a3c6e83f to your computer and use it in GitHub Desktop.
Save jz5/2fde7b8d3f81a3c6e83f to your computer and use it in GitHub Desktop.
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