FB is the lousiest when it comes to dev user friendliness. I do understand these tech things and I still find myself scratching my head when I need to create a simple app which will allow users to actually like my FB page when clicking on my site.
My personal opinion is that FB is dead and will stick around as a simple way to register with websites. Like your ID on the internet. But the thrill is gone. Twitter is where the action is.
A thing that annoys me the most is the social media buttons loading time. Click my signature and open an article - you'll see that the page loads pretty quickly and then you wait 4-5 seconds for the social media icons to load - FB being responsible for that.
So I'm phasing out FB, just need to think of a way to keep it as an option while eliminating the downsides (the loading time). I'll likely retain the general FB page like button, but will host it myself and will write custom code for it.
I don't know the solution to your problem. But maybe what I wrote can help in some way down the line.
Backlink building and bespoke white hat SEO service available. PM for details.