summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/snapPhoto2
-rwxr-xr-xbin/tweet10
-rwxr-xr-xbin/tweetImages11
-rw-r--r--etc/twitter4j.properties8
-rw-r--r--lib/readme-libs.txt11
-rw-r--r--lib/twitter4j-async-4.0.2.jarbin0 -> 198504 bytes
-rw-r--r--lib/twitter4j-core-4.0.2.jarbin0 -> 280471 bytes
-rw-r--r--lib/twitter4j-examples-4.0.2.jarbin0 -> 126152 bytes
-rw-r--r--lib/twitter4j-media-support-4.0.2.jarbin0 -> 22601 bytes
-rw-r--r--lib/twitter4j-stream-4.0.2.jarbin0 -> 57216 bytes
10 files changed, 42 insertions, 0 deletions
diff --git a/bin/snapPhoto b/bin/snapPhoto
new file mode 100755
index 0000000..3309c66
--- /dev/null
+++ b/bin/snapPhoto
@@ -0,0 +1,2 @@
+#!/bin/sh
+wget -O /home/lvuser/tweeterbot/var/"$(date +'%Y:%m:%dT%H:%M:%S')".jpg http://10.42.72.11/jpg/1/image.jpg
diff --git a/bin/tweet b/bin/tweet
new file mode 100755
index 0000000..5d38cf6
--- /dev/null
+++ b/bin/tweet
@@ -0,0 +1,10 @@
+#!/bin/sh
+export JAVA_HOME=/usr/local/frc/JRE
+
+for file in /home/lvuser/tweeterbot/lib/*.jar; do
+ CLASSPATH="$CLASSPATH:$file"
+done
+export CLASSPATH
+
+cd /home/lvuser/tweeterbot/etc
+"$JAVA_HOME/bin/java" -Xms30m -Xmx30m -cp "$CLASSPATH" twitter4j.examples.tweets.UpdateStatus "$@"
diff --git a/bin/tweetImages b/bin/tweetImages
new file mode 100755
index 0000000..474caee
--- /dev/null
+++ b/bin/tweetImages
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Usage: $0 TEXT FILES...
+export JAVA_HOME=/usr/local/frc/JRE
+
+for file in /home/lvuser/tweeterbot/lib/*.jar; do
+ CLASSPATH="$CLASSPATH:$file"
+done
+export CLASSPATH
+
+cd /home/lvuser/tweeterbot/etc
+"$JAVA_HOME/bin/java" -Xms30m -Xmx30m -cp "$CLASSPATH" twitter4j.examples.tweets.UploadMultipleImages "$@"
diff --git a/etc/twitter4j.properties b/etc/twitter4j.properties
new file mode 100644
index 0000000..85936ab
--- /dev/null
+++ b/etc/twitter4j.properties
@@ -0,0 +1,8 @@
+#twitter4j.properties
+#Thu Jan 29 17:36:07 EST 2015
+oauth.consumerSecret=7w9NMKBXGY319LLfeqFFf7APvE3c2lOHnVQeTrMLx44hBh2dAJ
+debug=true
+oauth.accessToken=3004288821-1uewmJbNJCWBvMhGp4ktMjNS55ib0XmS8u7gVr5
+oauth.accessTokenSecret=ix6mgy2i2vPjFyVVDsv5GqCRgm6LgQy1aQhgshpxCjuWN
+http.prettyDebug=true
+oauth.consumerKey=6q7OVuHzMvkwc3tnV0PjWg9nz
diff --git a/lib/readme-libs.txt b/lib/readme-libs.txt
new file mode 100644
index 0000000..6b337be
--- /dev/null
+++ b/lib/readme-libs.txt
@@ -0,0 +1,11 @@
+Twittetr4J is a Twitter API binding library for the Java language licensed under Apache License 2.0.
+
+Twitter4J includes software from JSON.org to parse JSON response from the Twitter API. You can see the license term at http://www.JSON.org/license.html
+
+readme-libs.txt - this file
+twitter4j-core.jar - REST and Search API support
+twitter4j-async.jar - Async API support : use with twitter4j-core
+twitter4j-media-support.jar - media API support : use with twitter4j-core
+twitter4j-stream.jar - Streaming API support : use with twitter4j-core
+twitter4j-examples.jar - examples : use with twitter4j-core, twitter4j-async and twitter4j-stream
+twitter4j-spdy.jar - SPDY / HTTP2.0 support : adds SPDY / HTTP2.0 support, boosts Twitter4J performance, reduce packets, save the earth
diff --git a/lib/twitter4j-async-4.0.2.jar b/lib/twitter4j-async-4.0.2.jar
new file mode 100644
index 0000000..c4c36fb
--- /dev/null
+++ b/lib/twitter4j-async-4.0.2.jar
Binary files differ
diff --git a/lib/twitter4j-core-4.0.2.jar b/lib/twitter4j-core-4.0.2.jar
new file mode 100644
index 0000000..2ad64f5
--- /dev/null
+++ b/lib/twitter4j-core-4.0.2.jar
Binary files differ
diff --git a/lib/twitter4j-examples-4.0.2.jar b/lib/twitter4j-examples-4.0.2.jar
new file mode 100644
index 0000000..f4f8449
--- /dev/null
+++ b/lib/twitter4j-examples-4.0.2.jar
Binary files differ
diff --git a/lib/twitter4j-media-support-4.0.2.jar b/lib/twitter4j-media-support-4.0.2.jar
new file mode 100644
index 0000000..12d1819
--- /dev/null
+++ b/lib/twitter4j-media-support-4.0.2.jar
Binary files differ
diff --git a/lib/twitter4j-stream-4.0.2.jar b/lib/twitter4j-stream-4.0.2.jar
new file mode 100644
index 0000000..31ba48d
--- /dev/null
+++ b/lib/twitter4j-stream-4.0.2.jar
Binary files differ