简体   繁体   English

将iOS应用/游戏发布到Facebook或Twitter时使用的链接

[英]Link to use when iOS app/game posts to Facebook or Twitter

I just developed a new game (called Ktalu: Planet of Terror) in iOS using COCOS2D. 我刚刚使用COCOS2D在iOS中开发了一款新游戏(称为Ktalu:恐怖星球)。 The game itself is done but I have to finalize a couple of things, one being the following. 游戏本身已经完成,但是我必须完成几件事,以下是其中之一。 This game allows users to post their high scores on Facebook and/or Twitter, and everything works fine right now. 该游戏允许用户在Facebook和/或Twitter上发布他们的高分,并且现在一切正常。 The Facebook post shows up as expected and some of the text is linked to a URL of my choice. Facebook帖子按预期显示,其中一些文本链接到我选择的URL。 My question is what link should I use here? 我的问题是我应该在这里使用哪个链接? I can link to the website of the game (ktalu.com) but it is probably a better idea to link directly to the game in the App Store. 我可以链接到游戏的网站(ktalu.com),但直接在App Store中链接到游戏可能是一个更好的主意。 This way, anyone who sees a post on Facebook when reading on an iPhone can click the link and be taken directly to App Store. 这样,在iPhone上阅读时在Facebook上看到帖子的任何人都可以单击链接并直接转到App Store。 But I am confused as to how to do this. 但是我对如何做到这一点感到困惑。 The only link I have now is a link to the game in iTunes Connect. 我现在唯一的链接是iTunes Connect中的游戏链接。 Remember, this game is not published yet. 请记住,该游戏尚未发布。 How can I get an App Store link for this game to put into Facebook posts and Tweets if the game is not yet in the App Store? 如果该游戏尚未出现在App Store中,我如何获得该游戏的App Store链接以将其放入Facebook帖子和推文中? And what exactly does this link look like? 这个链接到底是什么样的? Is it http, https, or something else? 是http,https还是其他? And what happens if someone reads the post on a laptop or desktop and clicks that link? 如果有人在笔记本电脑或台式机上阅读帖子并单击该链接,会发生什么?

The "View in App Store" link (Manage Apps, ) is exactly what you want. “ App Store中的视图”链接(“管理应用程序”)正是您想要的。 That URL will work once an app goes live, even if copied pre-launch because it doesn't change. 该URL将在应用程序上线后立即生效,即使在启动前复制了该URL也不会更改。 When followed on a non-iOS computer, this link goes to the online store. 在非iOS计算机上执行此操作时,此链接将转到在线商店。 When followed on iOS, this link goes to the App Store. 在iOS上关注时,此链接将转到App Store。

  • Protip: Use the URL scheme "itms://" instead of "http://" to link directly to your app in iTunes on the desktop/laptop. 提示:使用URL方案“ itms://”而不是“ http://”可直接链接到台式机/笔记本电脑上iTunes中的应用程序。 Both go directly to the App Store on iOS. 两者都直接进入iOS上的App Store。

If you'd like to construct the URL yourself, follow my previous instructions: 如果您想自己构造URL,请按照我之前的说明进行操作:

In iTunes Connect you need to find the "Apple ID" for your app (it's a 9 digit number found in Manage Apps, Ktalu). 在iTunes Connect中,您需要找到应用程序的“ Apple ID”(这是在Ktalu的Manage Apps中找到的9位数字)。 Then simply find a link to any other app and replace the ID with yours. 然后,只需找到指向任何其他应用程序的链接,然后用您的ID替换ID即可。

For example, the Apple ID for Google Maps is 585027354 and its online URL is https://itunes.apple.com/us/app/id585027354 . 例如,Google Maps的Apple ID为585027354,其在线URL为https://itunes.apple.com/us/app/id585027354

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM