Is there a global iTunes URL for use inside an email, SMS, or other "share this app" msg? - iphone

Copying the iTunes link for an app includes my home country, but sharing this same link with people in Hong Kong fails to surface the app.
This SO post shows how to craft one using the app name, but what if we want to reference the app ID and not the app name (since we may change the name based on a user survey)?
What's the right iTunes app URL for global sharing purposes? In other words, the same URL should lead to the app regardless of the user's country.

Use this
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=516500375&mt=8
Just replace id with your app id and you are done.
Hope this helps you...

iTunes doesn't offer any links that are truly global.
You can use third party services that are free like GeoRiot or SmartURL that are built specifically to solve this problem for the iTunes store.
Simply copy/paste any iTunes link into the form on the home page and each of the services return a link that can be used world-wide.

Related

App that redirect to other Apps

In my app, am I allowed to redirect users to other apps (of course if they choose to do this). It would be like in an affiliate model : if I send someone to the app X, and the user choose to use it, the owner of app X pays for that.
I'm not sure that it is allowed on Facebook, and I will be very grateful for those which would help me find the answer regarding this particular important issue for me.
Regards
No problem if The app x is in Facebook
11.Apps on Facebook may not integrate, link to, promote, distribute, or
redirect to any app on any other competing social platform.
12 . The
primary purpose of your Canvas or Page Tab app on Facebook must not be
to simply redirect users out of the Facebook experience and onto an
external site.

Facebook Integration in iOS app

I need to post a user-specific text, determined by him, on his wall/timeline when he presses a button (in facebook's tutorial, they make the user login when the app launches, and then it does nothing).
There is a lot of information on the internet but every site does it in other way.
Just wanted to know if there's a specific way to do it.
Thanks!
A quick easy way to add facebook to your app is ShareKit (http://www.getsharekit.com/). This also allows you to add other social network site to your app.
You might want to try Socialize: http://www.GetSocialize.com. It'll allow app users to comment & like within the app, with the option of also sharing out to a social network (Facebook currently live; Twitter coming). Full feature list at http://go.GetSocialize.com/features
DROdio

Can I find out if a first time user of an app was referred to by a friend?

I am new to Facebook API. So, please pardon my ignorance. I have looked around for an answer to my question, but did not find a solution. We are developing an app, which will give a user an option to share with their friends. I want to find out when if a user who comes to the app for the first time, was referred to by a user of the app, or by a link via a marketing campaign or came to know about the app because he/she is a fan of the page. Is that possible? I am more interested in knowing if that user was referred to by a user of the app.
Thanks
Sharma
Add a ?referrer=x tag to your share links where x is the UID of the person sharing the link and use that to determine where the originating traffic is coming. If this is for a tab app you'll need to use app_data to pass the info back to your app and then extract it from the signed request. (more info: https://developers.facebook.com/docs/authentication/signed_request/)

iOS - Facebook SDK integration/setup

Facebook SDK asks that developers provide their App ID as well as their iTunes ID.
Anybody feel this is incredibly ridiculous, not to mention ridiculously suspicious? Every doc/comment I've seen claims Facebook requires our iTunes ID so that they can "link" our app from iTunes, or something to this affect.
But i know for certain that this is not the case as there is a standard URL we can provide that lead users to the app, directly on iTunes/app-store.
The URL i commented on related to this is here
* Update *
OK. I don't think I'm doing this right. The App ID, which is provided by Facebook, this is the string that i provided in the Apple Store ID field. Which I'm pretty sure is WRONG. However, i am able to post to Facebook. What the hell is this field for?
* Resolved *
The apple store id is the App ID that you see from the app information page on apples developer site.
This seems to be a big misunderstanding. Facebook doesn't want or require your iTunes Id. It's an optional feature to register an url sheme for your application to provide a single sign login via the Facebook app on your iPhone.
Bind your application to a URL scheme
corresponding to your Facebook
application ID. The URL scheme you
must bind to is of the format
"fb[appId]://", where [appId] is your
Facebook application ID. Without this,
your application won't be able to
handle authorization callbacks. Modify
your application's .plist file as
follows:
https://github.com/facebook/facebook-ios-sdk

How to set an App Store link correctly?

I fear that I must link to the App Store of the users country. How could I do that automatically?
For example, the link I've got from Apple is this:
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=99999999999&mt=8
It opens up iTunes but fails loading the app. They say it takes up to 24h until it's there. So that is the link I can give anyone, no matter if from US, India, Australia or Holland? I'm confused because sometimes Google throws me at URLs like this one:
http://itunes.apple.com/us/app/id308928075?mt=8
These URLs show an app description in the web browser, and obviously they're localized. This one is for us, but you could enter any country code for /us/ to see the special description.
So is it intelligent to link to the first, very long URL (itunes.apple.com/WebObjects/MZStore...) or is it better to link to the US page of the app description online?
You're correct that the web links are localised. However, if you click 'View in iTunes' from that link or indeed launch any link that opens iTunes then the user is taken to the product on the correctly localised version of the store. I've just tested it with the web link you give above — clicking 'View in iTunes' took me to your product on the UK store, with UK pricing.
The direct to iTunes link you supply doesn't work, but you seem not to have substituted your product id for the 99999999999 placeholder.
I'm not sure which you'd consider better; Apple seem to be pushing the web preview URLs, based on the new behaviour of right clicking and selecting 'Copy Link' while in iTunes itself. Also, the type of link that you expect to open iTunes, with your product id substituted (ie, http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=308928075&mt=8) now appears to go to the web preview rather than to open iTunes. As a quick tip, this appears to be the 'international' version:
http://itunes.apple.com/app/id308928075?mt=8
i.e. just remove the 'us'. My browser still went to the US listing based on the price and reviews, but I'll bet it does something to at least get the display language correct.