My single-page app has a facebook "like" button on profile pages.
On initial load, the button appears as it should.
On subsequent loads, the button does not appear.
I think this is because the SDK is loaded initially, and then not again, so the DOM buttons are not processed.
As a hail-mary, I've attempted the following:
$("#facebook-jssdk").remove();
$("#twitter-wjs").remove();
$(".fb-like").empty();
$(".fb-like").unbind();
$("#fb-root").empty();
$("#fb-root").unbind();
This has worked for Twitter - the SDK is reloaded every time I navigate and now my Twitter buttons are appearing throughout.
But for some reason, the facebook buttons still only appear once, and then never again.
