Okay, if you don't want to even think about D5, just delete this now.
I have added 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?
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
Make sure you are clearing your browser cache. I have seen this when my browser has a cached image for the user it things is logged in. Just a thought.
-Steve
On Mon, Oct 8, 2012 at 3:20 PM, Ms. Nancy Wichmann nan_wich@bellsouth.netwrote:
Okay, if you don't want to even think about D5, just delete this now.
I have added 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?
*Nancy* Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
-- [ Drupal support list | http://lists.drupal.org/ ]
On Mon, Oct 8, 2012 at 5:20 PM, Ms. Nancy Wichmann wrote:
Okay, if you don't want to even think about D5, just delete this now.
ROFLMAO.
I have added 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?
Are the pictures FB server or localhost? Could it be session related?
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?
Thanks, Jamie. I think you're onto something here.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Jamie Holly
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.
Well, no dice, Jamie. The FB debugger suggested that I add several more OG tags, which I have done. But the Like is still picking up that image that is in the right sidebar (along with 10 others), but not the content, and is not the one that I specify in the "og:image" tag. I think I saw it work right once, but not again after that.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Jamie Holly hovercrafter@earthlink.net To: support@drupal.org Sent: Monday, October 8, 2012 5:42 PM Subject: Re: [support] (no subject)
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?
-- [ Drupal support list | http://lists.drupal.org/ ]
Something I forgot to mention was adding the prefix to your html tag:
<html prefix="og: http://ogp.me/ns#">
That could be making a difference.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 10/8/2012 7:50 PM, Ms. Nancy Wichmann wrote:
Well, no dice, Jamie. The FB debugger suggested that I add several more OG tags, which I have done. But the Like is still picking up that image that is in the right sidebar (along with 10 others), but not the content, and is not the one that I specify in the "og:image" tag. I think I saw it work right once, but not again after that. /*Nancy*/ Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
------------------------------------------------------------------------ *From:* Jamie Holly <hovercrafter@earthlink.net> *To:* support@drupal.org *Sent:* Monday, October 8, 2012 5:42 PM *Subject:* Re: [support] (no subject) 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.intoxination.net/> http://www.hollyit.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?-- [ Drupal support list | http://lists.drupal.org/ ]
I've had that problem. Facebook seems to have a big of a memory, so when you change a tag and try again it still remembers the previous set of images. I haven't tested enough to know how long between the tries, but the og:image will eventually work if it's worded correctly. Also, make sure your image is both small enough and proportioned correctly, otherwise it will reject the image.
Here's one that works for me.
<meta property="og:image"content="http://blog.brilliance.com/wp-content/uploads/2012/09/History-of-Diamonds-th...
and a link on the aspect ration. http://webapps.stackexchange.com/questions/23492/facebook-timeline-max-aspec...
-Don-
On 10/8/2012 7:50 PM, Ms. Nancy Wichmann wrote:
Well, no dice, Jamie. The FB debugger suggested that I add several more OG tags, which I have done. But the Like is still picking up that image that is in the right sidebar (along with 10 others), but not the content, and is not the one that I specify in the "og:image" tag. I think I saw it work right once, but not again after that. /*Nancy*/ Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
------------------------------------------------------------------------ *From:* Jamie Holly <hovercrafter@earthlink.net> *To:* support@drupal.org *Sent:* Monday, October 8, 2012 5:42 PM *Subject:* Re: [support] (no subject) 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.intoxination.net/> http://www.hollyit.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?-- [ Drupal support list | http://lists.drupal.org/ ]