ERROR : Invalid Facebook App ID

Hello.

Building with CoronaSDK will show Facebook AppID error when launching the application.

However, there are times when it does not come out when building again.

The result will be different each time you build.

Corona SDK 2018.3368

Plugin : Facebook v4a

Android Only

Is something happening?

What is the error you’re getting?

sorry.

I attached an image, but it is not displayed.

Paste the error capture.

There seems to be no error displayed especially in the application log.

Screenshot_20180913-232609.jpg

Do you have the Build ID from where this failed?

2018.3368

It is not like that?
Is it the ID of the build?

I do not know now, I will try and report it in a few hours.

No, the BuildID looks like this in the console log:

BuildID: 5b9ad6037b80a

With that information, we can look at our build logs and determine if there are other error messages or information we can glean from the build.

Rob

Thank you.

I understand.

Today, I did 10 builds, but the problem has not occurred.

I will report here at any time as I use it and occur.

I’ve experienced this “Invalid Facebook App ID” error as well. Specifically on Android devices. Usually when I re-build with no other changes, the error goes away. So it seems like something inside Corona process.

When you fail, please report the build ID here. It would be helpful to have multiple build ID’s, ones that work and ones that don’t to help us track this down.

Rob

OK, I got one example for you.

Corona Version 2018.3439 (2018.11.19)

BuildID: 5bf34ecc9f36b

FAILED: with the above Invalid Facebook ID error

Exact same codebase, re-build for Android:

BuildID: 5bf35abfbd7a4

NO Problems with facebook ID reported

Thanks for this. I’m seeing if we can determine anything from those two builds.

Rob

This problem occurred today.

Dec 02 08:16:57.330 BuildID: 5c03beb98f31d

There was no problem if building again.

I wish for a stable build.

Is there a fix for this problem?

Unfortunately, we’ve been unable to find the cause.

Rob

Hello Rob, Hello comunity!

Same problem here with facebook v4a : 

Build: 2018.3443
BuildID: 5c0e4fac4c46d

a native popup with : “Error Invalid Facebook App ID” when the app launch.

sometimes 

 

It’s totally random. After building the application, either it works or it does not work by displaying the popup.
I also notice that the message of the popup mentions an ID number which is the good one except that the last character is replaced by a “!”
So, it seem’s that it’s during the server build that a problem is created with the app ID Facebook. Can you dig a little the problem Rob because it’s a little annoying to have to builder 20 times before having a build that works? Thank you so much.

Have a nice day!

Hello Rob, same problem… here with facebook v4a : 

native popup with : “Error Invalid Facebook App ID” when the app launch.

Build: 2018.3443

---- For more information on build.settings see the Corona SDK Build Guide at: -- http://docs.coronalabs.com/guide/distribution/buildSettings/index.html -- settings = { splashScreen =     {         enable = false     },      plugins =     {         ["plugin.google.iap.v3"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { android=true }         }, ["plugin.google.play.services"] =         {             publisherId = "com.coronalabs"         }, ["plugin.facebook.v4a"] =         {             publisherId = "com.coronalabs"         },         ["plugin.notifications"] =         {             publisherId = "com.coronalabs"         }, ["CoronaProvider.native.popup.activity"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { iphone=true, },         }, ["CoronaProvider.native.popup.social"] =         {             publisherId = "com.coronalabs"         },       ["plugin.facebookAnalytics"] =         {             publisherId = "tech.scotth",             supportedPlatforms = { iphone=true, android=true, ["android-kindle"]=true }         },     }, orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", } }, excludeFiles = { -- Include only the necessary icon files on each platform iphone = { "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-Small-\*.png", "Icon\*@2x.png", }, }, -- -- iOS Section -- iphone = { xcassets = "Images.xcassets", plist = {       NSCalendarsUsageDescription = "Testing",       NSPhotoLibraryUsageDescription = "Testing",       NSCameraUsageDescription = "Testing", CoronaWindowMovesWhenKeyboardAppears=true, NSAppTransportSecurity = { NSExceptionDomains = { ["facebook.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionRequiresForwardSecrecy = false, }, ["fbcdn.net"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionRequiresForwardSecrecy = false, }, ["akamaihd.net"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionRequiresForwardSecrecy = false, }, } }, LSApplicationQueriesSchemes = { "fb",  -- Needed for the facebook-v4a.isFacebookAppEnabled() API "fb926777300692669", "fbapi", "fbapi20130214", "fbapi20130410", "fbapi20130702", "fbapi20131010", "fbapi20131219", "fbapi20140410", "fbapi20140116", "fbapi20150313", "fbapi20150629", "fbauth", "fbauth2", "fb-messenger-api20140430", "fb-messenger-api",     "fbshareextension",     "fb-messenger-platform-20150128",     "fb-messenger-platform-20150218",     "fb-messenger-platform-20150305", "fbshareextension" }, NSLocationAlwaysUsageDescription = "This app would like to use location services.", NSLocationWhenInUseUsageDescription = "This app uses maps.", UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay UIApplicationExitsOnSuspend = false, FacebookAppID = "926777300692669",  --replace XXXXXXXXXX with your Facebook App ID -- iOS app URL schemes: CFBundleURLTypes = { { CFBundleURLSchemes = { "fb926777300692669", } } }, UIAppFonts = { "Caviar Dreams.ttf", "Kavoon.otf", "Lato-Bold.ttf", "Lato\_Regular.ttf", "OpenSans-CondLight.ttf" }, NSAppTransportSecurity = { NSExceptionDomains = { ["facebook.com"] = { NSIncludesSubdomains = true, NSTemporaryExceptionAllowsInsecureHTTPLoads = true, NSTemporaryExceptionMinimumTLSVersion = "1.0", NSTemporaryExceptionRequiresForwardSecrecy = false }, ["petvaletapp.com"] = { NSIncludesSubdomains = true, NSTemporaryExceptionAllowsInsecureHTTPLoads = true, NSTemporaryExceptionMinimumTLSVersion = "1.0", NSTemporaryExceptionRequiresForwardSecrecy = false }, ["graph.facebook.com"] = { NSIncludesSubdomains = true, NSTemporaryExceptionAllowsInsecureHTTPLoads = true, NSTemporaryExceptionMinimumTLSVersion = "1.0", NSTemporaryExceptionRequiresForwardSecrecy = false }, ["fbcdn-profile-a.akamaihd.net"] = { NSIncludesSubdomains = true, NSTemporaryExceptionAllowsInsecureHTTPLoads = true, NSTemporaryExceptionMinimumTLSVersion = "1.0", NSTemporaryExceptionRequiresForwardSecrecy = false }, ["google-analytics.com"] = { NSIncludesSubdomains = true, NSTemporaryExceptionAllowsInsecureHTTPLoads = true, NSTemporaryExceptionMinimumTLSVersion = "1.0", NSTemporaryExceptionRequiresForwardSecrecy = false } } }, -- Launch image files table             UILaunchImages = {                 {  -- iPhone 4 Portrait                     ["UILaunchImageMinimumOSVersion"] = "7.0",                     ["UILaunchImageName"] = "Default",                     ["UILaunchImageOrientation"] = "Portrait",                     ["UILaunchImageSize"] = "{320, 480}"                 },                 {  -- iPhone 5 Portrait                     ["UILaunchImageMinimumOSVersion"] = "7.0",                     ["UILaunchImageName"] = "Default-568h",                     ["UILaunchImageOrientation"] = "Portrait",                     ["UILaunchImageSize"] = "{320, 568}"                 },                 {  -- iPhone 6 Portrait                     ["UILaunchImageMinimumOSVersion"] = "8.0",                     ["UILaunchImageName"] = "Default-667h",                     ["UILaunchImageOrientation"] = "Portrait",                     ["UILaunchImageSize"] = "{375, 667}"                 },                 {  -- iPhone 6 Plus Portrait                     ["UILaunchImageMinimumOSVersion"] = "8.0",                     ["UILaunchImageName"] = "Default-736h",                     ["UILaunchImageOrientation"] = "Portrait",                     ["UILaunchImageSize"] = "{414, 736}"                 },             }, } }, -- -- Android Section -- android = { coronaWindowMovesWhenKeyboardAppears = true, facebookAppId = "926777300692669",  -- Replace XXXXXXXXXX with your Facebook App ID permissions =         {             { name = ".permission.C2D\_MESSAGE", protectionLevel = "signature" },         }, usesPermissions = { "android.permission.INTERNET",             "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_FINE\_LOCATION", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.GET\_ACCOUNTS",             "android.permission.RECEIVE\_BOOT\_COMPLETED",             "com.google.android.c2dm.permission.RECEIVE",             ".permission.C2D\_MESSAGE",             "android.permission.VIBRATE", }, usesFeatures =         {             -- If you set permissions "ACCESS\_FINE\_LOCATION" and "ACCESS\_COARSE\_LOCATION" above,             -- you may want to set up your app to not require location services as follows.             -- Otherwise, devices that do not have location sevices (such as a GPS) will be unable             -- to purchase this app in the app store.             { name = "android.hardware.location", required = false },             { name = "android.hardware.location.gps", required = false },             { name = "android.hardware.location.network", required = false }         }, }, }

Hi  Rob !

We may release a problematic APK.

I have once released it without confirmation and have experienced uninstalled to many users.

It is undesirable to have different results each time an application is built.

Please fix the cause of this problem as soon as possible.

The problem is with the build servers… They know this as I reported it 2 months ago and this is a known problem.

Seemingly one instance is at fault which is why it is random.  It is NOT your fault… it is a Corona build issue that they need to fix.

Hello Rob,
 

Any news about fixing this problem with the build servers?

We have no power over the resolution of the problem, so the ball is in your court.

Thank you in advance for keeping us informed.

GBF Communication
 

We are still looking into it. This is a pesky problem that’s pretty well hidden. If you try again, it may build. I know it’s annoying to try over and over.

But you could also switch to native builds. This gets our build servers out of the way. You don’t need to use any native code, but you would need to use Xcode/Android Studio to do the builds.

Rob

Is this problem still solved?

This problem seems to be getting worse recently.

So we have to build many times.