Facebook things done by Rupak Nepali




How to make facebook like button for the dynamic page
<iframe style="overflow: hidden; border: 0px none; width: 120px; height: 35px;" src="//www.facebook.com/plugins/like.php?href=<?php echo urlencode("http://%22.$_server[%22server_name%22].$_server[%22request_uri/"]); ?>&amp;layout=button_count&amp;show_faces=false&amp;width=150&amp;action=like&amp;font=arial&amp;layout=button_count"></iframe>

In this <iframe make space for the facebook to comunicate with the site

style="overflow: hidden; border: 0px none; width: 120px; height: 35px;"
style for the frame's data

src="//www.facebook.com/plugins/like.php?href=<?php echo urlencode("http://%22.$_server[%22server_name%22].$_server[%22request_uri/"]); ?>
source file to be liked.

<?php echo urlencode("http://%22.$_server[%22server_name%22].$_server[%22request_uri/"]); ?>
url that we inserted

other are optional





facebook like button for the dynamic pages, like button etc

Comments

Popular posts from this blog

Fixed: Opencart installation error linux: warning: fopen(system/storage) failed to open stream: Permission denied

Opencart error: Notice: Trying to access array offset on value of type null in ..../vendor/scss.inc.php on line 1753

Cloudflare Settings for Marketing Websites