Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Facebook Problem


Recommended Posts



I seem to have some trouble promoting my store on FB.

I have a FB page for my business and I want to update its status with a link.

So, I go an attach a link to my status update of a product page..... BUT FB doesnt "pull" the product image for the status update. In fact it doesnt pull any images from my site, despite the page I try and attach.....


Any ideas....?

Link to comment
Share on other sites

I've just tested this with my own facebook page and oscommerce installation and it pulled the correct image from the store without any problem. I have also tested a random selection of other sites which use osCommerce and they all work without problems as well.


This would suggest that the problem is either Facebook being unable to connect to your site to get the details about the images or the template changes you have made preventing facebook from finding what images are on the page

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)



Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

  • 1 month later...

I had a similar problem.


Do you have hotlink protection enabled via cpanel or htaccess? If so, there's your culprit. Enable hotlinking for facebook.com & www.facebook.com and the photos should load.



This is what's in my .htaccess to prevent hotlinking; but to allow it for facebook:

RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?mysite\.com [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?facebook\.com [NC]
RewriteRule \.(gif|jpeg|jpg|png)$ - [NC,F]


Line 1: Allows people with blank referrers to hotlink, otherwise when they visit my site they'll get broken pics!

Line 2: Allow https to 'hotlink' otherwise people under https on your site will get broken pics

Line 3: Sets to allow facebook.com & www.facebook.com to hotlink your photos

Line 4: Defines what file extensions to prevent hotlinking for. If you use other image formats, set them there, separated with a |

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...