NS

Naren Salem

Facebook Comment Plugin in Rails

13 March ’16

For the video website I am creating we wanted to add some commenting options. The Facebook Comments plugin works nicely for our needs. It is easy to add. Looks half decent. And the visitors don’t need to create yet another account (if they have a Facebook account, that is).

But I was running into a problem that when the page was loaded the comment plugin would not show, until I refreshed the page. Turns out there may be a problem with Turbolinks and JavaScript. I found the solution on StackOverflow, but that didn’t have much detail. I will probably run into something else that will provide more insight soon.

Read this on StackOverflow here.