如何从另一个移动应用中链接到Twitter,Facebook和YouTube应用?链接、Twitter、YouTube、Facebook

2023-09-07 11:19:17 作者:半夏的溫柔

我知道我见过的其他应用程序做到这一点(至少在iOS上),但我不知道它是如何完成的。

I know I've seen other apps do this (at least on iOS), but I'm not sure how it can be done.

有什么办法(协议或URL方案也许)从另一个应用程序中打开的Twitter,Facebook和YouTube应用?

Is there any way (a protocol or url scheme perhaps) to open the Twitter, Facebook, and YouTube apps from within another app?

我建于iOS,Android上的PhoneGap应用程序和发布,以及黑莓(最终的Windows Mobile为好,但这是在路上)。我承担相应的应用程​​序都必须安装在设备上首次以便它摆在首位的工作。

I'm building a phonegap app and publishing for iOS, Android, and BlackBerry (eventually Windows Mobile as well, but that's down the road). I assume the respective apps would have to be installed on the device first in order for it to work in the first place.

我有一个客户,谁真正想要这个功能加入到自己的应用程序,但我似乎无法找到它可以怎么做。

I have a client who really wants this feature added to his app, but I just can't seem to find how it can be done.

我注意到了这一点: http://wiki.akosma.com/IPhone_URL_Schemes ,甚至试图在一个测试应用程序,没有运气。

I noticed this: http://wiki.akosma.com/IPhone_URL_Schemes and even tried it on a test app with no luck.

任何帮助将是AP preciated。

Any help would be appreciated.

推荐答案

这答案是Android的具体,但如果你想要做的微博看看这个教程:

This answer is Android specific but if you want to do Twitter look at this tutorial:

http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt5p1

有关YouTube的,你可以用我的VideoPlayer插件,它现在可以处理YouTube视频:

For YouTube you can use my VideoPlayer plugin which can now handle YouTube video's:

的http://simonmacdonald.blogspot.com/2011/11/video-player-plugin-for-phonegap.html

和最后戴夫·约翰逊做了一些Facebook的整合,以及:

and finally Dave Johnson did some Facebook integration as well:

https://github.com/davejohnson/phonegap-plugin-facebook-connect

 
精彩推荐
图片推荐