Search code examples
iostumblr

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 = @"";

Solution

    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 :)