Once you created the app, in the settings tab, click Add platform
and select WEBSITE
In the link, input the link to your site, then in the domain, the domain of your site, like here:
Then, just copy there into the video gallery settings > facebook tab.
Final step is to access Facebook login in the left tab menu
and input yoursite/