mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 13:20:05 +03:00
catchup
This commit is contained in:
parent
25906483bd
commit
0b8ddc2470
7 changed files with 676 additions and 137 deletions
14
oauth.d
14
oauth.d
|
@ -234,6 +234,20 @@ OAuthParams twitter(string apiKey, string apiSecret) {
|
|||
return params;
|
||||
}
|
||||
|
||||
OAuthParams tumblr(string apiKey, string apiSecret) {
|
||||
OAuthParams params;
|
||||
|
||||
params.apiKey = apiKey;
|
||||
params.apiSecret = apiSecret;
|
||||
|
||||
params.baseUrl = "http://www.tumblr.com";
|
||||
params.requestTokenPath = "/oauth/request_token";
|
||||
params.authorizePath = "/oauth/authorize";
|
||||
params.accessTokenPath = "/oauth/access_token";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
OAuthParams linkedIn(string apiKey, string apiSecret) {
|
||||
OAuthParams params;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue