Verma
Verma

Reputation: 257

Post photo using Tumblr

For tumbler integration, I am using tumblerSDK for iOS. I have to post image on tumbler so I am referring PhotoPostApp example in SDK. There are some parameters that I need to fill up for the below code.

I got the OAuthConsumerKey and OAuthConsumerSecret but from where I can get OAuthToken and OAuthTokenSecret?

[TMAPIClient sharedInstance].OAuthConsumerKey = @"";
[TMAPIClient sharedInstance].OAuthConsumerSecret = @"";
[TMAPIClient sharedInstance].OAuthToken = @"";
[TMAPIClient sharedInstance].OAuthTokenSecret = @"";

Upvotes: 0

Views: 732

Answers (2)

mgbpascual
mgbpascual

Reputation: 116

  1. Go to your -> tumblr api console
  2. Enter your Consumer Key and Consumer Secret
  3. Grant access
  4. Click the button with "SHOW KEYS"
  5. Get your Auth Token and Auth Secret from that :)

Upvotes: 2

neilco
neilco

Reputation: 8012

Calling authenticate:callback: on [TMAPIClient sharedInstance] will kick off the three-legged OAuth flow to retrieve the token and token secret.

Upvotes: 0

Related Questions