This is ad-creative-image scraping tool for facebook/twitter ad-transparent pages.
ruby fb_scraping.rb https://www.facebook.com/pg/${client_id}/ads/?ref=page_internal
ruby tw_scraping.rb https://ads.twitter.com/transparency/${client_id}
Please check ./fb_files
or tw_files
directories under the project after the command.