Created by Daniil Gentili (https://daniil.it)
This bash script can be used to download videos from youtube/dailymotion/etc and upload them on a facebook page, automagically.
This script will also copy the video's thumbnail, title and description.
To use it, create a facebook app @ https://developers.facebook.com/apps/, allow access to your page, disable development mode, insert the access token and the page's id in the script and run it with:
./web2fb.sh video_url1 video_url2