Just made a push to github (https://github.com/calimaborges/constru ... ded-plugin)
It is not ready yet. Here is a status list of what should and shouldn't work:
On Facebook ready: it is implemented using setTimeout for now to maintain compatibility (very bad, I know). This trigger will disappear in the future.
Is logged in to Facebook: OK
Request login: OK
On Facebook login succeeded: OK
On Facebook login failed: OK (but prints error on console. I will investigate why.)
Request logout: OK
On Facebook logout: OK
-----
Request user score: Not implemented yet
On score received: Not implemented yet
Submit score of int(n): Not implemented yet
On score submit success: Not implemented yet
Request Facebook scoreboard: Not implemented yet
On score info arrived: Not implemented yet
I plan to complete most of the not implemented features tomorrow.
I created readme.md file with some very basic instructions.
I also added a capx example file. You should be able to open it fill the App ID, export it to Cocoon and test it into a Custom CocoonJS Launcher with Ludei's compile properties and Facebook properly configured for it.
If you have any trouble testing it or if you have any suggestions please talk to me.
Thank you.