I’m closing this thread as I believe I have found the root of the issue.
In case anyone else is having the same problems I modified the htaccess file to allow files to be downloaded by twitter and facebook and it now works.