Hello. I'm developing a game for Facebook.
I have a Level Selection screen with multiple levels that have different Animation sprites (Locked, No star, 1 star, 2 stars, 3 stars).
Here how a player unlocks the next level: Let's say someone plays Level 1. There is a minimum score on each level. If he meets the minimum score then Level 2 animation changes from "Locked" to "No Star" and it becomes available to the player.
However, if the player closes the game and comes back later, the unlocked levels will be locked again.
How can I save the game progress? (Not locally, though. Player can clear cache and lose everything. It must be saved on DB).