Store facebook and foursquare photos in DB