I'm about finished with a native iPhone app, but I need to finish SSO via Facebook. Despite my best effort, I am unable to figure-out what value is supposed to go in the "iPhone App Store ID" field during the process where I register my app with Facebook on their website.
I have an "App ID" at http://developer.apple.com/ios/manage/bundles/, but Facebook gives me the error "iPhone App Store ID must be an integer" when I put my App ID in that field. My App ID is not an integer.
I know Facebook specifically labels the field with "App Store"; please tell me that isn't really the case, since... how would anyone have something on the "App Store" if it's still in development?
Everyone has "that issue" that motivates their first Stack Overflow post, and this is mine. I eagerly await news that I'm missing something.
The store ID of an iOS app uniquely identifies your app in the Apple App Store. You can find an app's store ID in the URL of your app's Apple App Store listing. For example, the URL of an app page is apps.apple.com/us/app/example/id000000000 . The app's store ID is 000000000 .
The Google Play Store for Android and the Apple App Store for iOS are the two largest distribution channels for mobile apps, offering almost global coverage to a huge potential audience.
Go to the Home Screen, then swipe left past all your Home Screen pages to get to App Library. Tap the search field at the top of the screen, then enter the name of the app you're looking for. Or scroll up and down to browse the alphabetical list. To open an app, tap it.
Create a new app in iTunes Connect. That app will have a unique app id. That's the id they want. That is, in fact, the App Store id for the app.
The accepted answer is true, but the iOS SDK docs also say
iPhone App Store ID - If you have an iPhone app that is listed in the iTunes App Store enter the ID here, e.g. 123456. If Facebook links out to your app and finds that the user does not have your app installed, then it will take the user to your app in the store. The user can then install your app. If your app is not in the iTunes App Store you can enter any valid app's ID but be sure to update this when your app is approved in the App Store.
Emphasis mine.
This is what I did. I use an existing public app ID (picked one at random from the store) because my app isn't out yet..
Right now, the simplest solution is to just type in "0" as iPhone App Store ID - a solution which is also demonstrated in the Facebook SDK Getting Started Guide: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With