summaryrefslogtreecommitdiffstats
path: root/modules/twitter
diff options
context:
space:
mode:
Diffstat (limited to 'modules/twitter')
-rwxr-xr-xmodules/twitter12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/twitter b/modules/twitter
index 5b1b0be9..26982525 100755
--- a/modules/twitter
+++ b/modules/twitter
@@ -1,11 +1,15 @@
#!/usr/bin/python
#encode=utf8
-print "Bug Robert to implement Twitter-OAuth!"
-exit(1)
+#print "TODO Bug Robert to implement Twitter-OAuth!"
+#exit(1)
+import sys
+#sys.path.append("/usr/local/lib/")
-import sys, twitter
+import twitter, os, pwd
+
+#os.getlogin = lambda: pwd.getpwuid(os.getuid())[0]
sys.stderr = sys.stdout
@@ -61,7 +65,7 @@ if len(sys.argv) > 1 and sys.argv[1] == "--help":
-api = twitter.Api(username="shackspam", password="sh4ckit")
+api = twitter.Api("Z7f9npE5ixvZ0lMCHDZBOg", "8z0gyfOABar1HxKvqL6fYXLqRFUPLQ9OOzDFt7Q4F4", "139766258-94TGPvNsJ8tYVv68eZewfXOIyDvRCWdycNlUgHrs", "NRnDQZPCoLrDizFvakZkSWgoG4vgGuT3OOMChSfiI")
#api.SetXTwitterHeaders("Shackspace UTTERANCE","","0.00.0.01.42")