The project is relatively simple: user logs in via admin panel (I already have done) winner will see that. there will be a single button: "Get all Images" -> once clicked via ajax the application you are to write will be fired off. the config will be done in the admin panel (username and password), so your part will be to read out the username and password from the table (simple), then grab all full size images from facebook, place into a pre-defined folder locally, and as each image is downloaded, the following information will be added to a mysql table: "imagename, gallery(from facebook),and a intval of 1 to another field".
I am assuming this should not be to difficult, and it is only to work for the user's own gallery, not friends or anyone else's gallery.
-single php / perl script that will process and work as described above.
-single config file for db connection config, and optional username and password for FB.