[support] (no subject)
Jamie Holly
hovercrafter at earthlink.net
Mon Oct 8 21:42:49 UTC 2012
Facebook picks up based on one of two things:
*Open Graph tags *
Add a head meta tag <meta property="og:image" content="{IMG URL}" />
(Easy solution is a regex to pick image out of $node->content and use
that. If no image is available, then have a general purpose one
available to throw in the tag. This can all be done in the theme.)
*Parsing Content*
If there are no OG tags, then FB will try and determine the image from
the content. A lot depends on the HTML structure of the page. Sometimes
you can reorder things in the template to get it to pick up.
For testing purposes, use the Facebook debugger:
http://developers.facebook.com/tools/debug
Facebook only scrapes pages once every 24 hours, so using that tool is
the best way to make sure you got it.
Jamie Holly
http://www.intoxination.net
http://www.hollyit.net
On 10/8/2012 5:20 PM, Ms. Nancy Wichmann wrote:
> ded a Like button (FBML) to the blogs and it works - except it's
> picking up some other person's picture than the one it should. Any
> ideas on how to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20121008/5248917b/attachment-0001.html
More information about the support
mailing list