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

#   A Couple of Questions concerning FB

##

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#18680](#18680) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  *[A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18680 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")* was created by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")*

1.) The social plugin included seems to be working ok however, after clicking "like" when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.

2.) I have a plugin "Auto Facebook" which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.

Thanks for any and all feedback.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NjgwLWEtY291cGxlLW9mLXF1ZXN0aW9ucy1jb25jZXJuaW5nLWZiP3RtcGw9bWFya2Rvd24=) 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 4 months ago [\#18694](#18694) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18694 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")*

1/ We didn't had that problem in our tests and it seems to be working fine for others. Did you setup your application id in the plugin ? Could you give a link to your page ?

2/ I've had a quick look at the auto facebook plugin:
[ extensions.joomla.org/extensions/social-...l-auto-publish/10776](http://extensions.joomla.org/extensions/social-web/social-auto-publish/10776)
It shouldn't be too much work to modify it as a hikashop plugin instead of a content plugin and implement the onAfterProductCreate(&amp;$element) and onAfterProductUpdate(&amp;$element) method of our API [ www.hikashop.com/support/documentation/6...r-documentation.html](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html) in order to achieve the same functionality.

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#18759](#18759) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18759 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")*

1) I have tried multiple ID's, I tried the stores ID on FB, My admin acct ID on FB. Neither of them added the picture when shared on FB. [ www.dalesestateliquidation.com](http://www.dalesestateliquidation.com) is the site I am working on. HikaShop is under the menu item New Store.

2) Not quite sure how to go about doing this, I'll tinker around a bit and see what I can come up with. Thanks for the quick response. ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NjgwLWEtY291cGxlLW9mLXF1ZXN0aW9ucy1jb25jZXJuaW5nLWZiP3RtcGw9bWFya2Rvd24=) 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 4 months ago [\#18760](#18760) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18760 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")*

1/ You can look on that thread for more information on that : [ www.hikashop.com/en/support/forum/4-how-...on-facebook-how.html](http://www.hikashop.com/en/support/forum/4-how-to/17857-integration-facebook-how.html)

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago -  15 years 4 months ago [\#18762](#18762) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18762 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")*

On line 189 in autofacebook.php I noticed this:

/**
* Run the plugin when onAfterContentSave is triggered
*/
function onAfterContentSave( &amp;$article, $isNew )

If I add a line and change it to this, would this be the correct way to add this function?

/**
* Run the plugin when onAfterContentSave is triggered
*/
function onAfterContentSave( &amp;$article, $isNew )
function onAfterProductCreate( &amp;$element, $isNew )

Also, I put in the application ID for the social networking plugin and now it's sending the photo along with the product info and link.

Last edit: 15 years 4 months ago by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NjgwLWEtY291cGxlLW9mLXF1ZXN0aW9ucy1jb25jZXJuaW5nLWZiP3RtcGw9bWFya2Rvd24=) 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 4 months ago [\#18765](#18765) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18765 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")*

I said it shouldn't be too much work, but you still need to dev some stuff, not juste change the name of a function ![:)](/media/kunena/emoticons/3.png ":)")
Otherwise, I would have done it myself and sent it on the forum to you.

You have the change the whole content of that function as the articles in joomla and the products in hikashop don't have the same structure and the same functions. So it still requires that you know what you're doing in PHP.

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#18767](#18767) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18767 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")*

:laugh: I figured out that there was more to it then this when I tried to access it, ahh i'm such a noob. Everybody has to start somewhere though. ![:)](/media/kunena/emoticons/3.png ":)") It's not really that important to have this feature included in my shop. It seems like it would be a useful feature to add in at some point and time in either commercial or free versions.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NjgwLWEtY291cGxlLW9mLXF1ZXN0aW9ucy1jb25jZXJuaW5nLWZiP3RtcGw9bWFya2Rvd24=) 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 4 months ago [\#18768](#18768) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18768 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")*

It's on the todo list ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#18771](#18771) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: A Couple of Questions concerning FB](/forum/2-general-talk-about-hikashop/18680-a-couple-of-questions-concerning-fb#18771 "1.) The social plugin included seems to be working ok however, after clicking &quot;like&quot; when I checked FB it doesn't display a photo of the product. Instead it shows the first image from the site's image gallery.  2.) I have a plugin &quot;Auto Facebook&quot; which auto publishes all new articles to my sites FB page. I was curious if you could add the feature to enable or disable auto-publish for products? This would be very useful to all who take advantage of social marketing.  Thanks for any and all feedback.")*

That's great news Nicolas, I will be looking forward to this new feature. Thanks for your prompt replies and great support.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NjgwLWEtY291cGxlLW9mLXF1ZXN0aW9ucy1jb25jZXJuaW5nLWZiP3RtcGw9bWFya2Rvd24=) 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.069 seconds

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