dimanche 26 juin 2016

Dynamic Facebook Share/Comments in Ember

After trying a few different packages to help with updating meta and og tags unsuccessfully, I am exploring other options to integrate Facebook sharing or commenting onto my Ember site. But I seem to be unable to dynamically generate the data-href value in my HBS templates.

<div class="fb-comments" data-href="http://ift.tt/28WSjEt}}" data-width="510px" data-numposts="10"></div>

Whenever you access the first review, the comments load fine. But once you go to another, even though the href is updated the comment plugin no longer loads. Is there a way to incorporate this with dynamic URLs?




Aucun commentaire:

Enregistrer un commentaire