It shouldn't be too much of a pain to do. I do something like this on http://thingist.com (Not caching facebook photos, caching the randomly generated 3x3 pictures that it gives you if you don't connect with facebook [the script to generate the pictures is expensive])
The python to do it would look something like this:
The python to do it would look something like this:
def cache_fb_photo(fb_uid,cache_name):
This may or may not violate facebook's ToS. Obviously it would take more than this to actually put it into production, but this would kindof work.