Mobile app version of vmapp.org
Login or Join
Barnes591

: How to tell Facebook not to fetch specific images? 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

@Barnes591

Posted in: #Facebook

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.

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @Barnes591

5 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

Try this- <meta property="og:image" content="http://yoursite/yourImage.jpg">
It is Open graph protocol. ogp.me/ You decide which image Facebook will show.

10% popularity Vote Up Vote Down


 

@Fox8124981

I had the same problem when Facebook grabbed avatars from my page, and I discovered that Facebook grabbed 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).

10% popularity Vote Up Vote Down


 

@Rivera981

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.

10% popularity Vote Up Vote Down


 

@Shelton105

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).

10% popularity Vote Up Vote Down


 

@Heady270

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme