OAuth flow

I have tried to draw the flow of Twitter OAuth as well as possible. The signatures are yet to be investigated.

This is the best picture quality I could get.

OAuth

OAuth

I have not fully analyzed the OAuth flow yet. Another post will deal with that. So for now I am able to use OAuth to call the Twitter API and redirect to my callback URL.

I have registered this callback URL when I created the Twitter Application.

Create a Twitter App

OAuth1

Obtain the Consumer key and Consumer Secret

Configured these to be used by the Play application.

Authorize

OAuth