diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/post-twitter.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 */ |