I must admit it, I were looking for an example like this (or even better a downloadable code) without any succeed. After 2 two hours of research I finally figured the whole process out and decided to write this small post and attach the code as well. When you look back and see the things all in perspective trust me: it´s actually quite easy.
First you need to get an API key for your application, access here to get an api key and a secret key, when you have ready them replace those values in the config file fbconfig.ini.
Upload the content to your site and enjoy
Here´s the working demo.
Tags: facebook api

Hi ,
Thanks a lot
I was looking for something like this.
Manish
wow nice Posting to your friends Wall
the file index.php???
@ale what you mean?
hello index.php file is missing! ’cause by an error of type GetUser …
hello all right now! I wanted to know if you can do a select all
and how to make friends. do you know if there ’s a limit on the bulletin board of items
Friends? thanks
help me insane…. http://www.facebook.com/developers/login_error.php?app_id=322393421456&connect=1&type=connect ???? why?????