Social Sharing Facebook

When a user wants to share web content on Facebook , for example an article . What is shared is the url www.site.com when it should be www.site.com/m/articles/view/name_article.

In the table sys_objects_social_sharing`  the following code appears

<iframe src="//www.facebook.com/plugins/like.php?href={url_encoded}&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21&amp;locale={locale}" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100%; height:21px;" allowTransparency="true"></iframe> .
 
I found these two codes online which are supposed to be solved but I can not . some help?
<iframe src="http://www.facebook.com/ plugins/like.php?href=<?php the_permalink(); ?> &layout=standard&show_faces=false&action=like &colorscheme=light" scrolling="no" frameborder="0" style="border:none; height:25px; width: 440px;"></iframe>

<iframe src="http://www.facebook.com/ plugins/like.php?href=<?php echo "http://mysite.com".$_SERVER['REQUEST_URI']; ?> &layout=standard&show_faces=false &action=like&colorscheme=light" scrolling="no" frameborder="0" style="border:none; height:25px; width: 440px;"></iframe>

 
 


Quote · 1 Jul 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.