iPhone apps: Linking to review page - iphone

I've seen several many apps link to the "write a review" page on the app store. What URL are they using? I know it's a Phobos URL.
Thanks.

You can use the following link:
itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=1234567890
Just replace the ID with your application’s ID. Unfortunately, the page you are taken to doesn't actually show your application's name; it just shows recent reviews for your application and allows the user to write their own. It's not a perfect solution, but so far it's the best we've got.
Also, that URL will only work on an iOS device. If you need one that works on the desktop, you can use the following:
https://userpub.itunes.apple.com/WebObjects/MZUserPublishing.woa/wa/addUserReview?id=1234567890&type=Purple+Software
See this blog post for more information.

Related

codename one. How to share a link to your app.

What I want to achieve here is similar to what most apps do, specifically like Youtube. If I share a video on youtube the user gets a link to the video. When the link is clicked the user is automatically taken to the video in the Youtube app (if the user has the app). I want that sort of functionality. My app has different stores on it and information about the store. I want the user to be able to "Share" a store via Whatsapp, sms etc so then when the receiver clicks on the shared link they are automatically taken to that specific store's page INSIDE my app. And if they do not have the app the link must take them to my app's page in the app store to allow them to download it. How do I achieve this in codename one. I looked at the share functionality in the developer doc and the How To section and that only shows me how to share text or images. Not a link to my app.
You can use the ShareButton or it's underlying native share API call (notice this behaves differently on devices as this relies on native functionality).
To share one URL that works on all platforms you need server side code as we have no way of knowing if the guy who will click the link has the same device as you have.
How to make QR code for BOTH Android Market and App Store answers that although it discusses QR codes this is applicable to links as well e.g. http://onelink.to/ looks like it could solve that although I haven't tried their service.
The correct answer to this question was actually URL intercepting. http://www.codenameone.com/blog/intercepting-urls-on-ios-android.html You share a url from your app to an external application. When the user opens that lick in an external application the user is automatically taken to your app if your app intercepts it.

How to open FB APP on phone to certain section of the app?

I am trying to send a link to the review section on the FB app so someone can leave a review for the business page.
This link opens the businesses app page but would like to structure it so it automatically opens the leave review section.
Any suggestions to ad something to the end of this URL to make this happen?
fb://profile/823389734392895/
http://screencast.com/t/1WLXnkGwTW3z
Much appreciated
Ps.. I would like to do this for Yelp also if possible
yelp:///biz/dc-auto-sales-inc-saint-louis
This is not supported. People have found ways to work around this, but it's not guaranteed to work and not officially supported.

Launch Settings app using private api

Since opening Settings.app with a prefs:// URL no longer works in iOS 5.1+, I'm wondering if I can launch Settings using private APIs?
NOTE: Not for the app store.
Using Private APIs
GitHub Project iOS-Runtime-Headers
Here are iOS Objective-C headers as derived from runtime introspection.
The headers were generated using RuntimeBrowser for iPhone.
Of specific interest to the Settings app, take a look at the Preferences.Framework.
I've never worked with this directly, but there seems to be other SO questions on the topic:
iOS Private API Documentation
Does anybody know how I can find the the headers for IOS5 Iphones/ipod. Jailbreak development
Get a screenshot while App is in background? (Private APIs allowed)
More...
Using URLs
According to this answer on SO, it is no longer possible to manually launch the Settings app using URLs.
Asked Apple through my developer account if there is a way to programmatically launch the WiFi Settings dialog. Here is the response:
"Our engineers have reviewed your request and have concluded that there is no supported way to achieve the desired functionality given the currently shipping system configurations."
If, however, you are using the native Twitter or Facebook SDK, then a dialog will appear asking the user to login if they are not. More information from this SO question, with example image below.
I don't have a particular answer. However, I would build on previous answer about Facebook or Twitter. I think, it make sense to disassemble Twitter or Social framework and find where this dialog is shown. If you will find this place, you can check the code behind "Settings" button.
There should be some API which switches to Preferences. However, it could be that code which does it lives in some service component which has entitlement, which you won't be able to get.

App Store review integration

I'd like to know how to put that menu inside my app that asks the user to review my app and redirects him to App Store to do so. Searched around but couldn't find much information, probably I'm not using the right keywords.
There's a nice library called Appirater for that.
If AppIRater is too heavy for you, you can send them directly to the page by using the format:
itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=APP_ID
… where APP_ID is your iTunes numerical application id.

UI for rating an app during deletion

Is that possible pop up the UI which comes during the deletion process before deleting the app ? (A UI which has stars, no thanks, rate my app button).
If no, can you tell me whether it is possible to create a screen and send the rating captured to iTunes connect ?
As other people said, your best option is to send people to the review/ratings page on iTunes.
The best open source solution I found for this is Appirater.
I use it in my apps and it works great + it generates many reviews.
You can configure when the popup should show. It basically looks like this:
(source: arashpayan.com)
It was created by Arash Payan, visit his page about Appirater with all the information.
This form always pops up if you delete an app on your iPhone. I don't think you can grab personal ratings out of iTunes but once you gather a sufficient number of votes you'll see the details on your app iTunes page.
You cannot present this UI yourself—it's handled by the OS. You can, however, direct your users to your app's rating page in the App Store app by opening an appropriate iTunes store URL, as documented in the “Heading straight to a review form” section of this article.