From 388b8e023691d95d02bc320593373e464d627dc1 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 14 Sep 2010 01:10:18 +0000 Subject: [PATCH] Added Twitter4J attribution. --- mobibot.iws | 61 +++++++++---------- .../thauvin/erik/mobibot/TwitterOAuth.java | 3 +- 2 files changed, 30 insertions(+), 34 deletions(-) diff --git a/mobibot.iws b/mobibot.iws index 48843a3..bb898b3 100644 --- a/mobibot.iws +++ b/mobibot.iws @@ -30,11 +30,10 @@ - - + @@ -434,14 +433,14 @@ - + - - + + @@ -473,8 +472,8 @@ - + @@ -484,8 +483,8 @@ - + @@ -614,19 +613,13 @@ - + @@ -833,12 +832,11 @@ - - + @@ -856,12 +854,13 @@ + - + @@ -1016,9 +1015,7 @@ - - - + @@ -1033,14 +1030,12 @@ - - - + - + diff --git a/src/net/thauvin/erik/mobibot/TwitterOAuth.java b/src/net/thauvin/erik/mobibot/TwitterOAuth.java index b0f8846..cabbe91 100644 --- a/src/net/thauvin/erik/mobibot/TwitterOAuth.java +++ b/src/net/thauvin/erik/mobibot/TwitterOAuth.java @@ -25,6 +25,7 @@ import java.io.InputStreamReader; * and follow the prompts/instructions. * * @author Erik C. Thauvin + * @author http://twitter4j.org/en/code-examples.html#oauth * @version $Revision$, $Date$ * @created Sep 13, 2010 * @since 1.0 @@ -57,7 +58,7 @@ public class TwitterOAuth { accessToken = twitter.getOAuthAccessToken(); } - + System.out.println( "Please add the following to the bot's property file:" + "\n\n" + "twitter-consumerKey=" + args[0] + '\n' + "twitter-consumerSecret=" + args[1] + '\n' + "twitter-token="