如何在 iPhone 推特应用 (MGTwitterEngine) 上进行转发 [英] How to do a RETWEET on an iPhone twitter app (MGTwitterEngine)

查看:25
本文介绍了如何在 iPhone 推特应用 (MGTwitterEngine) 上进行转发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 iPhone 推特应用 (MGTwitterEngine) 上进行转发

How to do a RETWEET on an iPhone twitter app (MGTwitterEngine)

推荐答案

mattgemmell/MGTwitterEngine 似乎还不支持此功能.

It seems that this function hasn't supported in mattgemmell / MGTwitterEngine yet.

与此同时,您可以通过引用 MGTwitterEngine 的此变体将该功能添加到您当前的 MGTwitterEngine 版本中:freeatnet/MGTwitterEngine

In the meantime, you can add that function to your current version of MGTwitterEngine by referencing this variant of MGTwitterEngine: freeatnet / MGTwitterEngine

- (NSString *)sendRetweet:(unsigned long)updateID
{
  if (updateID == 0){
    return nil;
  }
  NSString *path = [NSString stringWithFormat:@"statuses/retweet/%u.%@", updateID, API_FORMAT];

  return [self _sendRequestWithMethod:HTTP_POST_METHOD path:path 

                        queryParameters:nil body:nil 
                            requestType:MGTwitterUpdateSendRequest
                           responseType:MGTwitterStatus];
}

这篇关于如何在 iPhone 推特应用 (MGTwitterEngine) 上进行转发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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