The popularity of Facebook has prompted many website owners to include Facebook comments and Facebook Social plugins on their blogs and websites to allow easier sharing of content and interaction using Facebook.
I want to integrate Facebook comment plugin to my website hence Followed these guidelines.
https://developers.facebook.com/docs/plugins/commentsit shows all comment for the website but not for the single item.
(FB CODE: <div class="fb-comments" data-href="
http://your-website.com" data-numposts="5"></div> )
The facebook code uses the website URL. Instead of the website URL, i want the "Item url" instead.
So is there a code to get item url?ex: FOR BENDER THEME
<!-- FACEBOOK COMMENT-->
<h2>Comment with Facebook:</h2>
div class="fb-comments" data-href="
<?php echo osc_item_url() ; ?>" data-numposts="5" data-colorscheme="light" data-width="100%"></div>
<!-- FACEBOOK COMMENT-->