In my application I want to share text via tumblr api.
I just want some hint on this so I can get exact idea on how to share text on tumblr.
Thanks
In my application I want to share text via tumblr api.
I just want some hint on this so I can get exact idea on how to share text on tumblr.
Thanks
You can can use https://github.com/tumblr/TMTumblrSDK#authentication
i have shared text to tumblr with below code
NSArray* paramsKeys = [[NSArray alloc] initWithObjects:
@"title",
@"body",
nil];
NSArray* paramsVals = [[NSArray alloc] initWithObjects:
@"Testing",
@"HEllo Posting it to Tumblr",
nil];
NSDictionary *paramsDict = [[NSDictionary alloc]initWithObjects:paramsVals forKeys:paramsKeys];
[[TMAPIClient sharedInstance]text:@"blogname" parameters:paramsDict callback:^(id response, NSError *error)
{
if(!error)
{
NSDictionary *dashboard = response;
NSLog(@"%@",dashboard);
}
}];