从其他iOS应用程序启动Facebook和Twitter应用程序 [英] Launching Facebook and Twitter application from other iOS app

查看:144
本文介绍了从其他iOS应用程序启动Facebook和Twitter应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,
我还在继续构建我的iPhone项目,我在启动facebook应用程序时遇到了麻烦。首先,我假设每个SDK Xcode开发人员都知道Facebook应用程序在模拟中没有facebook或twitter应用程序。由于我有一个关于我的公司的Facebook页面和推特账号,我似乎无法测试从facebook应用程序或Twitter应用程序的推特页面启动我的Facebook页面,因为它们不在iOS模拟器中。所以我想知道如果他们不在那里我怎么能从facebook和Twitter应用程序打开我的facebook和twitter页面?我不想使用Facebook或Twitter URL,然后将其加载到UIWebView中,我想在我的项目中单击按钮后打开Facebook和Twitter应用程序,然后项目将关闭并打开Facebook或Twitter应用程序(来自应用程序商店的应用程序),所以希望有人知道他们如何能够一步一步地帮助我,或者他们是否有一个知道如何运行Facebook或Twitter应用程序的代码,如果我的英语不够清楚,请对不起,但希望你可以帮助我或者有更好的解决方案来帮助解决我的问题,谢谢

Hey guys, I am still continuing to build my iPhone project and I am having trouble with launching the facebook application. First of all, I am assuming every SDK Xcode developer knows that the Facebook application doesn't have the facebook or twitter app in the simulation. Since I have a facebook page and a twitter account about my company, I can't seem to test to launch my facebook page from the facebook application or my twitter page from the twitter application because they are not there in the iOS Simulator. So I was wondering how can I open my facebook and twitter page from the facebook and twitter application if they are not there? I don't want to use a Facebook or Twitter URL, then load it into a UIWebView, I want to open the Facebook and Twitter application to launch after the click of a button in my project, then the project will close and open either Facebook or Twitter application (the ones from the app store), so hopefully someone know how they can help me step by step or if they have a code that knows how to run the facebook or twitter application and sorry if my english is not clear enough, but hopefully you can help me or have a better solution to help solve my problem, thanks

推荐答案

我相信facebook app听了URI就像 fb:// ,所以我建议谷歌搜索。

I believe the facebook app listens to URI's like fb://, so I would suggest googling around for that.

在这里查看例如:< a href =http://wiki.akosma.com/IPhone_URL_Schemes#Facebook =noreferrer> http://wiki.akosma.com/IPhone_URL_Schemes#Facebook

这篇关于从其他iOS应用程序启动Facebook和Twitter应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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