I need a facebook application that will allow users to register and invite ther friends. They must invite at least 10 friends. Once they do that they will be eligible for a raffle. The prize will be picked randomly at the end of given period.
Basicly, the canvas should do this in order:
let people register,
once they register they will be insterted to my local mysql dataabase.
then they need to invite their friends. they can invite as many as they want, but at least 10 of those who they invite need to come and register.
so canvas should check that and update database accordingly.
Once they have 10 registered users, they will be aligible for the draw.
I want it to be in php