Facebook Cordova Construct 2


So I use facebook on construct 2 and I use the cranberry version cause it is the most advanced one.
However when I try to add it to plugins it won’t compile(yes I add the APP_ID and APP_NAME as a parameter)
When I use a different plugin it does work however when someone has facebook app installed it will only work once per start up of the game. Does anyone have a solution for this problem? Perhaps a different plugin who work better with cranberry?

This plugin I have installed https://github.com/jeduan/cordova-plugin-facebook4.git Because this one is not working https://github.com/cranberrygame/cordova-plugin-share-facebook. I do have the cranberry plugin installed on Construct 2.


Did you found an answer to this?
Help please!