Foren

Add Facebook, Twitter and Google+ Like button to Blog

Sarfarajali Kadiwala, geändert vor 12 Jahren.

Add Facebook, Twitter and Google+ Like button to Blog

New Member Beiträge: 12 Beitrittsdatum: 18.09.10 Neueste Beiträge
Hi,
I want to add Facebook, Twitter and Google+ Like button in my blog portlet.
i have downloaded facebook Hook its working and i tried for twiitter going throug twitter's official like button code but its not working good
i found that in facebook hook some tag is used like

<div class="facebook-like">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:like href="<%= viewEntryURL %>" show_faces="true" width="450"></fb:like>
</div>


here <fb:like> </fb:like> is used so my questins are
1. Is this tag is available in liferay portal TagLib
2. If not then how it works.
3. Is there similar tags for twiiter and google+
so i can easily add like buttons like facebook.

can any one explain how to add like buttons
thanks
thumbnail
James Falkner, geändert vor 12 Jahren.

RE: Add Facebook, Twitter and Google+ Like button to Blog

Liferay Legend Beiträge: 1399 Beitrittsdatum: 17.09.10 Neueste Beiträge
Sarfarajali Kadiwala:
Hi,
I want to add Facebook, Twitter and Google+ Like button in my blog portlet.
i have downloaded facebook Hook its working and i tried for twiitter going throug twitter's official like button code but its not working good
i found that in facebook hook some tag is used like

<div class="facebook-like">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:like href="<%= viewEntryURL %>" show_faces="true" width="450"></fb:like>
</div>


here <fb:like> </fb:like> is used so my questins are
1. Is this tag is available in liferay portal TagLib
2. If not then how it works.
3. Is there similar tags for twiiter and google+
so i can easily add like buttons like facebook.

can any one explain how to add like buttons
thanks



Check out this thread. There is a plugin referenced there with source code that you could add to your own blogs portlet, or just use the plugin as-is to add additional social bookmarking links to the out-of-the-box blogs portlet.