The first step in app development is at the bottom of every Facebook page. That is where you will find the 'Developers' link. The documentation here is very good and you will be be able to quickly obtain the application's API Key and the applications 'secret'. Each app is going to have unique values for these.
The examples I will give are in PHP and using the supplied PHP library. I was able to get all this running on a test server.
The bare bones was
$appapikey = "yourappapikeyhere";
$appsecret = "yourappsecrethere";
$facebook = new Facebook($appapikey, $appsecret);
$user_id = $facebook->require_login();
echo "Hello world!";
So after I got the bare minimum out of the way, I started going deeper into the documentation. Facebook has their own markup language FBML (think of it like pre-coded libraries for some interesting tools). These tags start with <fb: provide a lot of functionality for very little coding. You will see on the MySQLQuiz application a series of tabs that link to various MySQL pages.
<fb:tab-item href='http://www.mysql.com/certification' title='MySQL Certification' selected='true' />
<fb:tab-item href='http://www.mysql.com/certification/selftest/core/index.php' title='Sample Certification Questions' />
<tb:tab-item href='http://www.mysql.com/training' title='MySQL Classes' />
The above is probably enough to make a few of you go investigate Facebook app programming. My next post will include some more on the MySQLQuiz (how to randomly pick unique items from a database) and how the answers appear on the MySQLquiz.
And you can find the MySQLQuiz on Facebook by under the `Just For Fun` Applications