Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

OAuth API calls

  • Loading branch information...
commit de778c1464c7d0bfe10bcc39002264b37747e768 1 parent 5937245
@dajobe authored
Showing with 33 additions and 0 deletions.
  1. +33 −0 NEWS.html
View
33 NEWS.html
@@ -34,9 +34,42 @@ <h2 id="D2012-XX-XX-V1.23">2012-XX-XX Flickcurl Version 1.23 Released</h2>
<a href="https://github.com/dajobe/flickcurl/issues/15">GitHub issue 15</a>
</p>
+<p>New API calls to set OAuth parameters</p>
+
+<pre>
+ const char* flickcurl_get_oauth_token(flickcurl *fc);
+ void flickcurl_set_oauth_token(flickcurl *fc, const char* token);
+
+ const char* flickcurl_get_oauth_token_secret(flickcurl* fc);
+ void flickcurl_set_oauth_token_secret(flickcurl* fc, const char *secret);
+
+ const char* flickcurl_get_oauth_client_key(flickcurl *fc);
+ void flickcurl_set_oauth_client_key(flickcurl *fc, const char* client_key);
+
+ const char* flickcurl_get_oauth_client_secret(flickcurl *fc);
+ void flickcurl_set_oauth_client_secret(flickcurl *fc, const char* client_secret);
+
+ const char* flickcurl_get_oauth_request_token(flickcurl* fc);
+
+ const char* flickcurl_get_oauth_request_token_secret(flickcurl* fc);
+
+ void flickcurl_set_oauth_request_credentials(flickcurl *fc, const char* request_token, const char* request_token_secret);
+</pre>
+
+<p>New API calls for initiating the OAuth flow</p>
+
+<pre>
+ int flickcurl_oauth_create_request_token(flickcurl* fc, const char* callback);
+
+ char* flickcurl_oauth_get_authorize_uri(flickcurl* fc);
+
+ int flickcurl_oauth_create_access_token(flickcurl* fc, const char* verifier);
+</pre>
+
<p>Updated to 2012-04-18</p>
+
<h2 id="D2011-12-28-V1.22">2011-12-28 Flickcurl Version 1.22 Released</h2>
<p>Add support for the upload field 'hidden' to set if a photo is
Please sign in to comment.
Something went wrong with that request. Please try again.