Just a simple “invite friends” and get points application.
Connects PHP with the Facebook API and sends variables to .swf file that animates the percentage of “YOUR FRIENDS” that have also installed this app. Also user’s facebook-id is stored in a database when he accepts the terms of using this application. Something similar is used to all the viral games or business applications in the FB plattform.
You have to be logged in Facebook to try this!