diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-28 08:44:45 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-28 08:44:45 +0100 |
commit | 23784065e6e4de2e77bd1793a92ed3dbb73b5203 (patch) | |
tree | 08caeca17ec3eb646f5d83a39877ed078908c5bc /protocols/twitter/twitter.h | |
parent | f1b7711f566163ff27a8f13ae3ccc7214a24fe70 (diff) | |
parent | 3f668e478bbaa062cf6b01e627cb39885200e5ff (diff) |
Merging OAuth branch. It should be stable now and is documented.
Diffstat (limited to 'protocols/twitter/twitter.h')
-rw-r--r-- | protocols/twitter/twitter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/twitter/twitter.h b/protocols/twitter/twitter.h index 88caa104..9c046b66 100644 --- a/protocols/twitter/twitter.h +++ b/protocols/twitter/twitter.h @@ -36,6 +36,8 @@ struct twitter_data { char* user; char* pass; + char* oauth; + struct oauth_info *oauth_info; guint64 home_timeline_id; gint main_loop_id; struct groupchat *home_timeline_gc; @@ -49,4 +51,8 @@ struct twitter_data */ GSList *twitter_connections; +#define TWITTER_OAUTH_REQUEST_TOKEN "http://api.twitter.com/oauth/request_token" +#define TWITTER_OAUTH_ACCESS_TOKEN "http://api.twitter.com/oauth/access_token" +#define TWITTER_OAUTH_AUTHORIZE "http://api.twitter.com/oauth/authorize" + #endif //_TWITTER_H |