Hi! I´ve recently bought the tutorial. I see you added the Facebook plugin. After logging in using you example, will I be able to use the C2 facebook plugin, even in android? i need to submit and get scores, and stuff like that. Thank you!
Construct 2 Facebook-Firebase Connect Template
A downloadable project for Android
Here it is, a template that help you to connect you Construct 2 game with Facebook and Firebase.
Demo (web) / (Downloadable APK Demo available below)
After you download this template. You can combine it with my other template that use Firebase. Simply change the Auth Event Sheet.
- A sample CAPX with include-able event sheet
- A tutorial of how to configure the project, including Firebase Setting, Facebook Developer Setting, Export to mobile etc.
This template uses the following plugin :
This zip contain plugins above, but if you want the recent version, you can download them manually.
Attention! Make sure you have understand how to make a firebase project. Follow this tutorial to get started using Firebase in Construct 2.
The rest of instruction already included in the zip.
In order to download this project you must purchase it at or above the minimum price of $2 USD. You will get access to the following files:
Log in with itch.io to leave a comment.
Hello, I currently use this plugin https://shatter-box.com/download/cocoon-social-for-facebook/ plugin to connect with facebook, but it does not provide:
* profile picture;
I wonder if you can develop these two options in this plugin.
Hey, I bought the tutorial, but well I got stuck in the compilation of the app. I'm using cocoon for this. I tried and tried in so many ways adding and removing any installeable plugins in the platform, but nothings seems to work. So I came here to ask you, how did you do the apk to make the login and everything work?
Hi, I'm sorry but I never use cocoon for build this project. But I'll ask you some question :
- Are you sure you have installed the correct plugin?
- Have you tried to debug the app? You can find the detail of error when debug an APK.
- Are you sure there's no error in server-side (your Facebook developer app page), I heard that recently Facebook only allows https protocol to call their API.
If you don't mind, you can try to build the APK locally using Cordova (like what I did).
Hi, thanks your prompt answer.
Yes I have installed the correct plugin, and I tried the debugging but seems like the facebook popup isn't opening at all.
Also I just set the Facebook developer app, but as you say it just works with the device or with https protocol. So locally this doesn't work.
Do you have a guide or something to make the APK with cordova with all the things needed to make it work? thanks you for everything.
Got the thing worked :D thanks for your hard work in the event sheet
Hi, sorry for the late reply.
Really? Glad to hear them. Also thanks for purchased this product.
Tell me if there's anything that you don't understand, or anything that will improve this product.
maaf nih mas masih stuk,
permintaan terakhir nih kalo boleh minta zip in folder yang berisikan config.xml dan lain2 yang tinggal build, saya mau cek salah saya dimana
Mas saya build sudah sukses namun pas di klik tidak terjadi apa2.
Bisa di copy kan contoh config.xml nya?
mas mau tanya ini tidak bisa di build apk pake cordova cli? saya coba build error
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [:CordovaLib] D:\Cordova\facebookv2\platforms\android\CordovaLib\build\intermediates\manifests\full\debug\AndroidManifest.xml as the library might be using APIs not available in 15
Suggestion: use a compatible library with a minSdk of at most 15,
or increase this project's minSdk version to at least 16,
or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
sepertinya error nya sudah cukup jelas, coba buka
terus cari baris
ubah jadi 16
Hi, this projects works fine whenever I test it in preview. However, when I export and upload to my website, I get the following error "Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings." I have tested using Construct FB plugin and never got this message. Any ideas why this might be happening?
As what the error said, "add all domains and subdomains of your app to the App Domains field in your app settings."
Just go to Facebook Developer Page -> Setting, make sure you have added Web Platform, change its value with your site's URL.
Also go to Facebook Login product and add your domain/subdomain to OAuth Valid URL field.
Hi. Just in case you missed my reply on c2 site. I just want to ask if it is possible to switch to another account. I've checked your demo but there was none.
Thumb ups for this nice template btw