KaKao Talk分享,首先要...,然后需要外国的苹果账号才能下载(韩国或者日本的).
先指出问题:分享出去的图片是需要先传到Kakao的后台.
[[KLKImageStorage sharedStorage] uploadWithImage:image success:^(KLKImageInfo * _Nonnull original) {
}];
后面是自定义模板:
[[KLKTalkLinkCenter sharedCenter] sendCustomWithTemplateId:@"9527" templateArgs:@{@"text":@"Kiki Star",@"link":_zhuboDic[@"myurl"],@"content":original.URL.absoluteString} success:^(NSDictionary<NSString *,NSString *> * _Nullable warningMsg, NSDictionary<NSString *,NSString *> * _Nullable argumentMsg) {
} failure:^(NSError * _Nonnull error) {
}];
自定义模板:
1.创建应用(拿到参数)

2.添加模板是在tools

3.创建的是消息模板,对你没看错.

4.创建完成的模板


5.更改模板参数

6.删除或者修改

7.也可以插入视频

自定义分享还是有点恶心的.
记录:
Kakao Talk被微信收购了....可能以后....
网友评论