ios - Twitter 与 Twitter 应用程序共享并返回我的应用程序

标签 ios ios5 twitter

是否可以使用设备上安装的 Twitter 应用程序向 Twitter 发布消息并自动返回我的应用程序?我可以使用

打开 Twitter 应用程序
  NSURL* myUrl = [NSURL URLWithString:[NSString stringWithFormat:@"twitter://post?message=%@", sharingString]];
  [[UIApplication sharedApplication] openURL:myUrl];

但是之后就没有办法自动返回了。

对于 Facebook,有一个很好的方法可以使用 FBConnect 和 FBAuth 来实现这一点,Twitter 有类似的方法吗?

最佳答案

为什么不使用 iOS 5 SDK 附带的新 TWTweetComposeViewController

关于ios - Twitter 与 Twitter 应用程序共享并返回我的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8240679/

相关文章:

ios - 如何混淆AudioSessionAddPropertyListener

ios - 使用 AVFoundation AVPlayer 循环播放视频?

iOS 自动续订订阅和 restoreCompletedTransactions() : is the transaction removed from the queue after expiration or cancellation?

iOS 5/6 Twitter 无对话分享

android - 如何将来自 Android 应用程序的推文发布到一个特定帐户?

javascript - 有没有更好的方法来根据数组名称检查字符串?

javascript - Twitter 时间轴小部件在中型设备上消失(Bootstrap)

c# - 如何将 ios 框架添加到 C# Xamarin iOS 项目?

ios - 哪里保存了无法重新创建的下载数据?

iphone - 在 Objective-C 中检查 Json 响应的空值