Service links - Facebook "like" error I am using the Service links module in my Drupal 7 site. 

When using the Facebook "like" widget, I get the word "error" (in red color), in the place where the Facebook "Like" button should be.

When clicking on the word "Error", a Facebook popup window is opened with the error like so:


  The href URL must be absolute


Note: I am using the Service links widgets inside a view. Other Services links widgets are working great, such as the Facebook share widget, Twitter, Google+ and Pinterest widgets.

What is the problem of the Facebook "like" button?
Replace this line(in sites\all\modules\service_links\js\facebook_like.js):

iframe.src = $(this).attr('href').replace('http://', '//').replace(/http[s]*\%3A\/\//, '');


with the below line:

iframe.src = $(this).attr('href').replace('http://', '//');