Put the below code in your portlet to make working facebook like-box.
Also you can configure height,width and account-URL from liferay configuration.
See below screen shots :
<fb:like-box href="<%=faceBookURL!=null ? faceBookURL : PortletProps.get("default.url") %>" width="<%=width!=null ? width : PortletProps.get("default.width") %>" height="<%=height!=null ? height : PortletProps.get("default.height") %>" show_faces="true" stream="false" header="true"> </fb:like-box>
Also you can configure height,width and account-URL from liferay configuration.
See below screen shots :
<fb:like-box href="<%=faceBookURL!=null ? faceBookURL : PortletProps.get("default.url") %>" width="<%=width!=null ? width : PortletProps.get("default.width") %>" height="<%=height!=null ? height : PortletProps.get("default.height") %>" show_faces="true" stream="false" header="true"> </fb:like-box>