在 iPhone 上使用 twitter://tweetie://自定义方案将 twitter 应用程序打开到特定的用户配置文件 [英] Using twitter:// tweetie:// custom scheme on iPhone to open twitter application to a specific user profile

查看:33
本文介绍了在 iPhone 上使用 twitter://tweetie://自定义方案将 twitter 应用程序打开到特定的用户配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以为我熟悉与 iOS 一起使用的应用程序自定义方案以从我的应用程序触发应用程序,但我无法使用似乎由官方 twitter 应用程序(又名 tweetie)提供的方案.

I thought I was familiar with the applications custom schemes used with iOS to trigger applications from my app but I'm unable to use the ones that seems to be provided by the official twitter app (aka tweetie).

我正在尝试将 Twitter 应用程序直接打开到预定义的用户个人资料.

从这里找到的文档 http://handleopenurl.com/scheme/twitter 这应该是可行的,但此代码不起作用:/:

From the documentation found here http://handleopenurl.com/scheme/twitter this should be feasible, but this code doesn't work :/ :

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"twitter://user?id=41553213"]];

我也尝试过 tweetie:// 但同样的情况发生了:应用程序启动,但没有跳转"到给定的用户配置文件.实际上,如果我尝试任何其他示例,我没有任何工作:(<前>twitter://messages推特://提及

I also tried with tweetie:// but the same happens : the application launches, but does not "jump" to the given user profile. Actually, if I try any of the other examples, I don't get anything working :(

twitter://messages
twitter://mentions

知道为什么这些调用都不起作用吗?谢谢.

Any idea why none of those invocations are working ? Thanks.

注意:我在 iOS 3.1.3 (iphone 3G) 下使用最新版本的 twitter 应用程序

N.B:I'm using the last version of the twitter application under iOS 3.1.3 (iphone 3G)

推荐答案

很奇怪,卸载应用程序后,从appstore重新下载,好像可以用?:O 也许我不是在最后一个?!起初我以为是因为我设置了多个帐户,但没有,即使现在它也可以使用.奇怪,但很酷.

very strange, after removing the application, downloading it again from the appstore, it appears it works ? :O Maybe I wasn't exactly on the very last one ?! At first I thought it was because I had multiple accounts set up, but no, even with that it works now. Strange, but cool.

这篇关于在 iPhone 上使用 twitter://tweetie://自定义方案将 twitter 应用程序打开到特定的用户配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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