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

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

问题描述

我以为我是熟悉与iOS用于触发从我的应用程序的应用程序应用的定制方案,但我无法使用,这似乎被官方Twitter的应用程序(又名特威特)提供的人。

我试图直接打开Twitter应用程序到predefined用户配置文件。

从这里 http://handleopenurl.com/scheme/twitter发现这应该是可行的文件,但这个code不起作用:/:

[UIApplication的sharedApplication]的OpenURL:[NSURL URLWithString:@微博://用户ID = 41553213]];

我也试图与特威特:// ,但同样的情况:应用程序启动,但不跳到指定的用户配置文件。
其实,如果我尝试任何的其他的例子,我没有得到任何工作:(


微博://消息
微博://提到


他们都不工作:(

任何想法,为什么没有这些调用的工作是?
谢谢。

N.B:我使用的是iOS 3.1.3下的Twitter应用程序的最后一个版本(iPhone 3G)


解决方案

很奇怪,从在AppStore再次删除应用程序,下载后,似乎它的工作原理? :o也许我是不完全的最后一个?!起初我还以为是因为我有多个账户设置,但没有,即使有,它现在的作品。奇怪的,但冷静。

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).

I'm trying to open the twitter application directly to a predefined user profile.

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"]];

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
none of them are working :(

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

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

解决方案

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.

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

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