Manually Set and Override the URL for the Facebook Like Button

1/19/2015 9:03:31 PM

The Facebook like button will be default use the current url of the page it is on. To override this value, set the data-href value. This can be very useful if part of your url changes. 

<div data-href="http://www.codelocker.net/codes/30362/" class="fb-like" data-send="false" data-layout="button_count" data-width="120" data-show-faces="false"></div>