aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oauth.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 /lib/oauth.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 'lib/oauth.h')
-rw-r--r--lib/oauth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oauth.h b/lib/oauth.h
index 160e30f1..98e58c64 100644
--- a/lib/oauth.h
+++ b/lib/oauth.h
@@ -20,3 +20,5 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
* *
\***************************************************************************/
+
+char *oauth_http_header( char *access_token, const char *method, const char *url, char *args );