[Skip to main content](#vessel-content)

#   Facebook like button and others

##

- **[rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")**
- [![rsarpong's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2026-rsarpong "View rsarpong's Profile") Topic Author
- [ Offline](/forum/user/2026-rsarpong)

Less More

- Posts: 138
- Thank you received: 0
-
-

15 years 6 months ago [\#14269](#14269) by [rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")  *[Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#14269 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")* was created by *[rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")*

Hello,

How would I integrate the facebook "like" and twitter button/links into a product page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 6 months ago [\#14284](#14284) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#14284 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

Hi,

Here are some solutions: [ www.hikashop.com/en/support/forum/3-bug-...g-properly.html#6558](http://www.hikashop.com/en/support/forum/3-bug-report/6546-some-listings-not-diplaying-properly.html#6558)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")**
- [![rsarpong's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2026-rsarpong "View rsarpong's Profile") Topic Author
- [ Offline](/forum/user/2026-rsarpong)

Less More

- Posts: 138
- Thank you received: 0
-
-

15 years 6 months ago [\#15571](#15571) by [rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")  Replied by *[rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#15571 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

Hello,

I have try to add both the tweet and facebook like button given the code provided by both sites. The twitter code works fine but the fb code is not working for someone reason. Maybe I need to change something. Here are both codes.

Facebook

&lt;script src="[ connect.facebook.net/en\_US/all.js#xfbml=1](http://connect.facebook.net/en_US/all.js#xfbml=1)"&gt;&lt;/script&gt;&lt;fb:like href="[ www.daydreamercreative.net](http://www.daydreamercreative.net)" layout="box_count" show_faces="true" width="450" font="verdana"&gt;&lt;/fb:like&gt;

Twitter

&lt;p&gt;&lt;a class="twitter-share-button" href="[ twitter.com/share](http://twitter.com/share)"&gt;Tweet&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;script src="[ platform.twitter.com/widgets.js](http://platform.twitter.com/widgets.js)" type="text/javascript"&gt;&lt;/script&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 6 months ago [\#15579](#15579) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#15579 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

I see that you're using the xfbml format for your facebook code. We had the same problem when trying it on our end.

You should use the iframe code provided by facebook instead:
&lt;iframe src="[ www.facebook.com/plugins/like.php?href&amp;a...p;font&amp;height=80](http://www.facebook.com/plugins/like.php?href&amp;send=true&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80)" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"&gt;&lt;/iframe&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")**
- [![rsarpong's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2026-rsarpong "View rsarpong's Profile") Topic Author
- [ Offline](/forum/user/2026-rsarpong)

Less More

- Posts: 138
- Thank you received: 0
-
-

15 years 6 months ago [\#15588](#15588) by [rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")  Replied by *[rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#15588 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

The Iframe does not work either the code just dissappears when I hit the update button on the html editor. Maybe this is a Joomla issue I posted on their forum as well.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 6 months ago [\#15598](#15598) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#15598 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

That's normal that the code disappear. It's the HTML editor which removes it. If you go in the configuration of hikashop and change the editor option to "no editor" you should be able to add the iframe code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 1 month ago -  15 years 1 month ago [\#25828](#25828) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#25828 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

Hello,

Has anyone else noticed the tweet counter on the plugin is not working?

Cheers ![:)](/media/kunena/emoticons/3.png ":)")

Last edit: 15 years 1 month ago by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 1 month ago [\#25839](#25839) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#25839 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

There are several possibilities to that problem:
[ stackoverflow.com/questions/3805670/twit...utton-does-not-count](http://stackoverflow.com/questions/3805670/twitter-tweet-button-does-not-count)
One interesting is to add the attribute:
data-counturl="'.$_SERVER.'"

in the link:
$html.='&lt;a href="http'.$this-&gt;https.'![:/](/irritated.gif ":/")/twitter.com/share" class="twitter-share-button" '.$message.' data-count="'.$count.'" '.$mention.' '.$lang.'&gt;Tweet&lt;/a&gt;

in the file plugins/content/hikashopsocial.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 1 month ago [\#25874](#25874) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#25874 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

Thanks Nicolas, it didn't work for me - must be another issue ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 1 month ago [\#25882](#25882) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#25882 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

Mmm. I'm out of ideas on this one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 1 month ago [\#25911](#25911) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#25911 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

That's cool. It may have something to do with htaccess file and www. etc, so will dig a little and post any news, if any ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[ahernandez](/forum/user/5453-ahernandez "View ahernandez's Profile")**
- [![ahernandez's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5453-ahernandez "View ahernandez's Profile")
- [ Offline](/forum/user/5453-ahernandez)

Less More

- Posts: 1
- Thank you received: 0
-
-

14 years 9 months ago [\#35331](#35331) by [ahernandez](/forum/user/5453-ahernandez "View ahernandez's Profile")  Replied by *[ahernandez](/forum/user/5453-ahernandez "View ahernandez's Profile")* on topic *[Re: Facebook like button and others](/forum/4-how-to/14269-facebook-like-button-and-others#35331 "Hello,  How would I integrate the facebook &quot;like&quot; and twitter button/links into a product page?")*

**rsarpong wrote:**

> The Iframe does not work either the code just dissappears when I hit the update button on the html editor. Maybe this is a Joomla issue I posted on their forum as well.

If you are using Joomla version 1.7/1.6 and you are trying to add an iFrame into your article you will need to first adjust the text filter options so it does not get filtered out. In the article manager click on the option button at the top right then go to the "Text Filters" tab. In this tab you want to set the Filter Type for Super Users from "Black List (default)" to "No Filtering"

This should then allow you to include iFrames in your articles without the code being removed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MjY5LWZhY2Vib29rLWxpa2UtYnV0dG9uLWFuZC1vdGhlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.141 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
