Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I posted a few days ago how it was possible to tell FB to fetch specific images in my site for status updates.

I still need to tell it what not to fetch, since many of these pictures wouldn't represent the website very well. I'd really rather only show the site logo.

share|improve this question
Great question! I often see when a site is shared that Facebook picks a banner ad as its image even though they come from a completely different domain! I'd imagine this would be very common and easy for them to avoid but the next best thing would be to find the answer to your question :) – Itai Mar 3 '13 at 21:26
If you use the og:url tag, you can specify which image is default, but the others will still show up as choices. I'm not sure of a way to exclude images, unless you make them background images. – Dallas Mar 27 '13 at 4:59

I had the same problem when Facebook grab avatars from my page, and I dicover that Facebook grab images that are largest, so if you want to show up only one image, for instance, make it bigger (I think 10px will be enough since it's a code that probably compare numbers, but this need to be tested).

share|improve this answer

One solution would be to cloak your page when the facebook scraper comes along. It uses the user agent.

facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)

For that user agent, serve a version of the page with the images removed.

share|improve this answer

There are apparently two ways of doing this and the best thing to do is to check out the SO question, but for quick reference, one or more <link rel="image_src" href="..."/> tags will keep FB in check (for now).

share|improve this answer

If I understand you correctly, you want Facebook NOT show images they have scraped from your site (because they might be out of context) and want to know how to instruct them or simply stop them from doing it.

You can also just create a dynamic rule that will redirect any attempt to pull certain files back to a single file, sort of a "Neener Neener" kind of result to the requester. Either way, this generator might be useful. Especially if you always want them to get the same image like your logo no matter what "they" grab automatically.

share|improve this answer

Change in your privacy setting and then it would be helpful to make changes in "who can see"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.