Facebook App can't find Appstore ID - ios

I'm developing a iOS App right now and got some awkward things going on with Facebook.
The App is using the Facebook Login and therefore I need to add the
Bundle-ID, iPhone Store-ID and iPad Store-ID in the Facebook App so I can use the login in my native app.
like so: http://puu.sh/rE4oW/bfba72feb3.png
Error: "There was a problem fetching your iPhone Store ID from the App Store. Please check the ID and try again later."
But I can't add the appstore id because Facebook doesn't find this in the store.
This is right because the app is not listed in the store right now.
But how should I implement the login without releasing the app in to the app store?
I am confused..

This is a known issue with Facebook Login, that you can't leave it blank.
But what you can do is set it to 0.
Release the app and then you should have your iPhone Store Id & iPad Store Id, so you can change it then.
References of people facing the same issue:
https://forums.coronalabs.com/topic/43922-facebook-unable-to-retrive-iphone-store-id/
Please Note:
After reading about it, my recommendation is that you release this feature after your first App Store release. Because a non-working released feature is way worse than limited features.
Rest is upto you. Cheers!

Related

Problem Retrieving iPhone/iPad store id - Facebook Developer

I am making an iOS app and using Facebook for developers. However the iPhone and iPad store IDs are unable to be retrieved by Facebook. I know I am using the correct App store IDs so does anybody have an idea what the problem could be?
There are multiple similar question but none of them really answer the question
From the forum on their support website, the issue seems recurring.
Attempt the following to resolve:
i) Switch app from development to live on the facebook developers portal
ii) Reenter your app id
iii) Save

Test Deep Link Notification using Facebook not working in iOS

I'm trying to test a deep link notif using Facebook's App Ad Helper tool. However, I'm getting the following error message: Deep link notification could not be sent for the chosen platform.
Anyone experienced this and how did you solved this?
It is probably due to lack of App ID entered in application settings. I am unsure if it is the only possible problem causing this message, but after adding App ID from my app on appstore notification with deeplink was successfully sent to device
In https://developers.facebook.com/apps/712694549805037/settings/basic/, Go to iOS Platform and make sure that iPhone Store ID has a valid value. For me it was not working till the time this value was empty.
You can get this id without even shipping your app to the app store.
But you need a developer account for the same.

iOS app launching another app on Facebook login

Installed in my iOS device, I have 5 personal apps (that is, developed by myself). Any app is related to a single Facebook app, that manages login for any of those apps. Problem is the following: when I try to login in one of the apps, the SO launches another app. Should any app be related to a different Facebook app?
[update] I think I solved, I found this one: https://developers.facebook.com/docs/ios/troubleshooting#sharedappid
Did you have the redirect url pointing to a app?
Each new app you make needs its own on facebook. It gets it own id and key.

Facebook Native Ads on iOS

I'm trying to implement native ads from Facebook in my app. I put the code exactly like Facebook said, and it works. But only if the app was installed via xCode. If the app is installed via Test Flight the ads never appears.
Any ideas?
My Audience Network permission is enable, as well as my ad placement
I know, this question is already answered. I am adding information to help someone looking for explanation.
Test Flight rotates through a pool of IDFA's and hides the users true IDFA, making it difficult to identify a Facebook user – and that is required for delivering an ad.
I have facing this problem when using Testflight beta testing, I switch to Fabric beta testing and the facebook native ad shows.
Just put the app on app store and will be fine.
Remember to uncheck the "Limit Ad Tracking" in the device settings.
https://developers.facebook.com/docs/audience-network/faq#a12
I had an issue similar to this so I used one of my tickets to open a chat with someone at apple via members center. They advised me to give the app 24-48 hours of being live for iAds to work correctly on all devices. They said that Xcode should always display iAds but other methods of deploying iAds may be a bit behind.

How to test Facebook mobile app install ads “Last Mobile Install Reported” field?

I've integreated Facebook SDK, and put the code [FBSettings publishInstall:YOUR_APP_ID]; in, and it worked all right with return value true.
I'm testing it using ad hoc distribution, for some reason the field Last Mobile Install Reported is not showing up. And the Facebook app summary page I got seems to be different to other people.
My question is:
Do I need to release the app to Apple store first, then download it via Facebook Ad in order for 'Last Mobile Install Reported' to show up?
My guess is that since I installed the app as Ad Hoc to my device, not via Facebook, so that 'Last Mobile Install Reported' didn't work. It is fair enough if that is the case, as I expect Facebook to charge me only when people download and install the app via Facebook Ads. But I'm not sure if my guess is all right or not. Can anyone clarify how facebook mobile app install ads works?
I've read through https://developers.facebook.com/docs/tutorials/mobile-app-ads/ already btw.
Any help would be appreciated.
I know I'm a little late to answer this but maybe this will help someone else. I just ran my first ad campaign on fb for my app and tracked installs.
First, the way you test if your app has the fb framework installed correctly and reporting installs is:
Look for the "fb_mobile_activate_app" event to show up in fb in the App Dashboard -> Insights -> App Events -> Overview. It should show up within a minute of the app opening.
Your app does not have to be released. I was getting install data from the simulator.
FB tracks all opens and if that same user clicked on one of your ads within the last 28 days it counts it as an install.
Your app do not have to be Released to see that feature. We have seen stats even for our development status app.
Last Mobile Install Reported works for non Facebook Ads related installs as well. They basically take in any installs .
It seems like you already have a Mobile Install Reported value in place. I don't think it would report a duplicated device if you set up the Info.plist correctly as instructed in the article below. Under "Advanced steps for mobile measurement", go to step 2.
https://developers.facebook.com/docs/tutorials/mobile-app-ads/
There is a "trick" to seeing your installs.
Yes, you can test "App Installs" on the Simulator or on your device...BUT...you might not see them on the Facebook Dashboard.
Instead, first go to the INSIGHTS tab reached from the left menu on the App Dashboard.
You may see App Installs here - but you might not.
Second, if you don't see any live data for App Installs, look at the section called "APP LAUNCHES." That can be used as a surrogate indicator that your app is working.
Third, if you don't see live data for "App Launches" - look at the date range. Change the date range to extend to TOMORROW's date. Give Facebook 1-2 minutes to update with your data. At that point, now you can see that live App Launches are occurring - and thus will know that your connection to FB is working.

Resources