aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-04-26 01:42:37 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-04-26 01:42:37 +0100
commit508c340d1d12d3ca932001d7ee1dea1a4c81bf02 (patch)
tree7afffb4e4258fb8190555afdc7b2707965894229 /protocols/twitter/twitter.h
parentb2bc25c4483f4c2b419d91d479f38c3f07ef4226 (diff)
Successfully posted a tweet!
Twitter's tricky. It returns vars (user_id, screen_name) in the access token that, the way I read the spec, should be included in all subsequent queries. However, stuff only started to work when I dropped those vars. This code's definitely not pretty ATM. Need to clean up now that it actually works.
Diffstat (limited to 'protocols/twitter/twitter.h')
-rw-r--r--protocols/twitter/twitter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/twitter/twitter.h b/protocols/twitter/twitter.h
index 88caa104..16620e1d 100644
--- a/protocols/twitter/twitter.h
+++ b/protocols/twitter/twitter.h
@@ -36,6 +36,7 @@ struct twitter_data
{
char* user;
char* pass;
+ char* oauth;
guint64 home_timeline_id;
gint main_loop_id;
struct groupchat *home_timeline_gc;