CWL

Facebook Comments Plugin And The Domain Problem

Facebook Comments Plugin ExampleWhile working to move this site to using encryption, I have come across another painful reminder of how inadequate the Facebook comments plugin really is. When changing the url (and ultimately the domain) of this site from http://cwl.cc to https://cwl.cc Facebook doesn’t handle the change very well. What I’m left with is losing another swath of great comments and thinking of a fix.

After this change, you’ll notice that posts on this site have lost all comments. Hundreds of wonderful thoughts that help you (and I) learn more about what others think of posts are sitting on Facebook, but they now don’t show on my blog. I also saw this when I changed from blogging.cwl.cc to cwl.cc – though there weren’t as many comments back then.

One way around this appears to be changing the “data-href” tag attached to the post back to the old tag. An example of this change for me might look like:

Old.