从 iOS 应用程序在 Tumblr 上分享链接 [英] Share a link on Tumblr from iOS app

查看:34
本文介绍了从 iOS 应用程序在 Tumblr 上分享链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在谷歌上搜索以找到一种在不倒翁中共享链接的方法...我刚刚找到了 sharekit 来执行此操作,但我真的不喜欢它...你认为我还有什么其他选择这个?

I've been googling around to find a way to share a link in tumbler... I just found sharekit to do this, and I really don't like it... What other options do you think I have for this?

我不敢相信没有库可以以相对简单的方式实现这一目标...

I can't believe there are no libraries to achieve this in a relatively easy way...

有什么想法吗?

谢谢!

推荐答案

刚找到这个!

TMTumblrSDK

效果很好!要发布文本帖子,您只需:

It works fine! To make a text post you just have to:

NSDictionary *parameters = [[NSDictionary alloc] initWithObjectsAndKeys:
                                    @"Titulo",@"title",
                                    @"Este es el body",@"body",nil];

[[TMAPIClient sharedInstance] post:@"blogName" type:@"text" parameters:parameters callback:^(id var, NSError *error){
     NSLog(@"Error %@",error);        
}];

希望对大家有所帮助!

这篇关于从 iOS 应用程序在 Tumblr 上分享链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆