Sharethis facebook

Does anyone knows how I can make sharethis work with dynamic content, especially for facebook? I’ve tried using cookies and changing the meta og tags dynamically but apparently FB reads the page before the dynamic content is loaded. I have the other tags working by putting the sharethis div in my data like so…

<div class="sharethis-inline-share-buttons" dmx-bind:data-image="{{data_deatail1.data.featured_image}}" dmx-bind:data-url="http://www.triptakers.travel/blog.php?blog_id={{data_detail1.data.blog_id}}"
dmx-bind:data-title="{{data_detail1.data.blog_title}}" dmx-bind:data-description="{{data_detail1.data.blog_content}}"></div> 

I hadn’t realized before that the dmx-bind can be used for any tag, not just wappler ones so that was a nice nugget to learn. :slight_smile: but doesn’t solve the FB problem.

Community Page
Last updated: