From 20ec023af480b98806d0c60db967982a69828a94 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 3 Aug 2009 13:37:05 +0100 Subject: Update post-twitter to reflect the new API --- examples/post-twitter.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/post-twitter.c b/examples/post-twitter.c index 3d0a5ce..5c477b8 100644 --- a/examples/post-twitter.c +++ b/examples/post-twitter.c @@ -56,10 +56,8 @@ main (int argc, char **argv) fgets (pin, sizeof (pin), stdin); g_strchomp (pin); - oauth_proxy_set_verifier (OAUTH_PROXY (proxy), pin); - /* Second stage authentication, this gets an access token */ - if (!oauth_proxy_access_token (OAUTH_PROXY (proxy), "oauth/access_token", &error)) + if (!oauth_proxy_access_token (OAUTH_PROXY (proxy), "oauth/access_token", pin, &error)) g_error ("Cannot request token: %s", error->message); /* We're now authenticated */ -- cgit v1.2.1