Tanks you the first problem is solved, it was the maximum path-length limit of 260 characters.
The second problem is still persistent, I have done all of the installation instructions for the Facebook plugin and of course I have downloaded the plug-in from Maintenance tool. I have reproduced the Facebook example from Github in my project, but the crash at the start still persists . I can PM you my project so that you can try it by yourself.
Thanks you for your support