Setup Facebook Application
In order to use facebook share and like locker you need to create an application in facebook developers dashboard and configure with settings for your domain.
A – Add your application domains, both of them with www and without.
B – Add urls to your site
A – Make application public
A – Enable website and mobile platforms