A simple link to the site where the work is hosted is legal as this does not constitute making something available. Putting a copy of a work online on a social network, however, does constitute making something available and is therefore protected by copyright.