【问题标题】:How to pass URL with tweet in twitter?如何在推特中通过推文传递 URL?
【发布时间】:2011-04-14 17:24:55
【问题描述】:

我想通过我的 iPhone 应用程序将文本连同 URL 作为推文发送到 twitter,我使用了 XAuth,但不知道该怎么做。

请提出您的建议。 谢谢

【问题讨论】:

    标签: iphone twitter


    【解决方案1】:

    它很简单,没有单独的方法。 只需将 URL 与文本结合起来

    NSString *tweet = [[NSString alloc] initWithFormat:@"Your Tweet Message http://stackoverflow.com/"];
    [engine sendUpdate:tweet];
     //engine is your Twitter Object
    

    【讨论】:

      猜你喜欢
      • 2012-06-14
      • 2020-03-15
      • 2018-02-24
      • 1970-01-01
      • 2015-02-03
      • 2021-04-07
      • 2014-11-06
      • 2014-05-30
      • 1970-01-01
      相关资源
      最近更新 更多