This sample uses the following libraries:
You'll need to create an account on Twitter.
And then "Create New App".
Make sure the Callback URL field has a valid value (for chrome extension, this url is not invoked).
Fill in the consumerKey
and consumerSecret
in the form on option page.
(Normally you will put these keys directly somewhere in your code.)