Issue with Facebook release

Hi,

One of my games has been in Android and Apple store for quite some time. We decided to release it to Facebook as well. Followed the documentation and all, it got reviewed by Facebook App Center. The review was succesful and according to FB developer portal the game is live now, but when we click on the game just a blank page opens. Same happens if we try to open using Facebook gameroom

We cant figure out what’s causing this. Anyone else ever faced the same issue?

Are you adding Facebook features to you existing mobile games and need approval for that? Or are you trying to build games playable directly from Facebook?  I thought they needed HTML5 for their games.  But if it’s successfully launching your app and you’re app is black screening, you likely have an error in your code.

You will need to tether your device to your laptop and use “adb logcat” to view the device’s console log (you should be able to do that from Android Studio as well). On iOS, you can use Xcode’s Devices’s screen to view the device’s console log there.

Rob

I am trying to build games directly playable from facebook. no mention of html5 requirement anywhere

Facebook has the ability to show a link to the user to play a game and if you’re calling the facebook.publishInstall() API, then Facebook will know if the user has your app installed and clicking on the link should launch your app on your device.  The other thing is are Facebook Instant games, which can be played inside the FB app, Messenger app, etc. These have to be HTML5 apps.

Do you have a URL for your game?

Rob

ok that clears it. so i need to build my game in html5 to be able to publish it on the facebook app.

Does Corona help us with that?

Our HTML5 builds are currently in open beta. We don’t have a Facebook specific plugin yet, but if you’re not needing FB specific features, you should be able to just use a basic HTML5 build without a facebook plugin.

I’ve not gone through the process of setting up an HTML5 app for Facebook yet, so I can’t provide any experience on how to set it up.

Rob

Are you adding Facebook features to you existing mobile games and need approval for that? Or are you trying to build games playable directly from Facebook?  I thought they needed HTML5 for their games.  But if it’s successfully launching your app and you’re app is black screening, you likely have an error in your code.

You will need to tether your device to your laptop and use “adb logcat” to view the device’s console log (you should be able to do that from Android Studio as well). On iOS, you can use Xcode’s Devices’s screen to view the device’s console log there.

Rob

I am trying to build games directly playable from facebook. no mention of html5 requirement anywhere

Facebook has the ability to show a link to the user to play a game and if you’re calling the facebook.publishInstall() API, then Facebook will know if the user has your app installed and clicking on the link should launch your app on your device.  The other thing is are Facebook Instant games, which can be played inside the FB app, Messenger app, etc. These have to be HTML5 apps.

Do you have a URL for your game?

Rob

ok that clears it. so i need to build my game in html5 to be able to publish it on the facebook app.

Does Corona help us with that?

Our HTML5 builds are currently in open beta. We don’t have a Facebook specific plugin yet, but if you’re not needing FB specific features, you should be able to just use a basic HTML5 build without a facebook plugin.

I’ve not gone through the process of setting up an HTML5 app for Facebook yet, so I can’t provide any experience on how to set it up.

Rob