Unlocking Levels by sharing on facebook

Hello, I’m making a simple game. At first the user only gets to play one level. Then I want to add a option to the level screen to share on Facebook or Twitter. If the user’s share they get to unlock more levels. I don’t know where to start. This is my first app. Haven’t integrated any social plugin yet. Please guide me if this is possible with corona.

This is possible, but quite a hard thing. you need the facebook plugin (the complex one, not the simple social plugin) believe FB returns an id when they post, so you can check that is there, in this way you will know that they posted. of course they may just delete right after.

Thanks, I guess then I will leave it for now if it’s complicated.

The Social plugin (Activity plugin on iOS) should return a state that lets you know if the user cancelled the dialog or actually made the post. This should be sufficient for you to know if the person posted or not.

Rob

@Rob,

I am developing for android only. Is this feature available for android plugin?

There is the Social plugin for Android.  This should work for you.

This is possible, but quite a hard thing. you need the facebook plugin (the complex one, not the simple social plugin) believe FB returns an id when they post, so you can check that is there, in this way you will know that they posted. of course they may just delete right after.

Thanks, I guess then I will leave it for now if it’s complicated.

The Social plugin (Activity plugin on iOS) should return a state that lets you know if the user cancelled the dialog or actually made the post. This should be sufficient for you to know if the person posted or not.

Rob

@Rob,

I am developing for android only. Is this feature available for android plugin?

There is the Social plugin for Android.  This should work for you.