Which program do you use? When the error message appears, on start or during work?
We need more informations.
L"erreur apparaît quand je tente de publier les photo sur FB
Sorry, but I don't have a Facebook account. So I don't have any experience about.
you can take a look here: https://helpx.adobe.com/lightroom/kb/errors-occur-using-lightrooms-publish.html
BTW: This is an English spoken forum.