diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-26 01:42:37 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-26 01:42:37 +0100 |
commit | 508c340d1d12d3ca932001d7ee1dea1a4c81bf02 (patch) | |
tree | 7afffb4e4258fb8190555afdc7b2707965894229 /protocols/twitter/twitter_http.h | |
parent | b2bc25c4483f4c2b419d91d479f38c3f07ef4226 (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_http.h')
-rw-r--r-- | protocols/twitter/twitter_http.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/twitter/twitter_http.h b/protocols/twitter/twitter_http.h index ec4a0b7c..1e29fb99 100644 --- a/protocols/twitter/twitter_http.h +++ b/protocols/twitter/twitter_http.h @@ -28,7 +28,7 @@ #include "http_client.h" void *twitter_http(char *url_string, http_input_function func, gpointer data, int is_post, - char* user, char* pass, char** arguments, int arguments_len); + char* user, char* pass, char *oauth_token, char** arguments, int arguments_len); #endif //_TWITTER_HTTP_H |