So dummy,
I am going to
configure you to
“tweet” for me. I
am going to set
you up as a
Hmmm …
Can I generate
Evil Tweets?
Go this set to register your app:
First, pick a good name
this is the name of the
app, not of the bot!
The app behind @MetaphorMagnet
is called:
Also called CONSUMER keys
You will also get private access tokens:
Keep these
Finally, configure the settings for your
app: You want to:
Now, we will access our app via a Java
API for Twitter called:
Now, let’s write some frickin’ Java:
Import the API classes:
Then, we need to
Obtain an authorization
URL from Twitter
Here’s the Authorization page, and
here is the pin you receive:
Let’s use our keys
to interact with
Twitter, as a good
bot should!
Set Up Your Twitter App!
Set Up Your Twitter App!

Set Up Your Twitter App!

  • 1.
    So dummy, I amgoing to configure you to “tweet” for me. I am going to set you up as a Hmmm … Can I generate Evil Tweets?
  • 2.
    Go this setto register your app: First, pick a good name this is the name of the app, not of the bot!
  • 3.
    The app behind@MetaphorMagnet is called: Also called CONSUMER keys
  • 4.
    You will alsoget private access tokens: Keep these
  • 5.
    Finally, configure thesettings for your app: You want to:
  • 6.
    Now, we willaccess our app via a Java API for Twitter called:
  • 7.
    Now, let’s writesome frickin’ Java: Import the API classes: Then, we need to Obtain an authorization URL from Twitter
  • 9.
    Here’s the Authorizationpage, and here is the pin you receive:
  • 10.
    Let’s use ourkeys to interact with Twitter, as a good bot should!