So I've become annoyed that when I post a link to my site in Facebook an image is not included with the it. I did a little research and found out about open graph tags that are supposed to help with this sort of problem and have tried to implement them to no avail. If anyone knows how to fix this, I'd be glad to know. Here's the code I'm using now:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head><title>***comic_name*** - ***todays_date***</title>
<meta property="og:title" content="Chainmail Bikini"/>
<meta property="og:type" content="Web Comic"/>
<meta property="og:url" content="http://chainmailbikini.comicgenesis.com"/>
<meta property="og:image" content="http://i288.photobucket.com/albums/ll18 ... y22/og.jpg"/>
<meta property="og:site_name" content="Chainmail Bikini"/>
<meta property="fb:admins" content="Jason Kerr"/>
<meta property="og:description"
content="Chainmail Bikini is a fantasy tale about an adventuring company and their quests in a land filled with magic and mystery."/>
No image when posting link in FB.
- chainmailbikini
- Regular Poster
- Posts: 72
- Joined: Tue Jul 03, 2012 3:52 am
- Location: KY - USA
- Contact:
- LibertyCabbage
- Cartoon Hero
- Posts: 4667
- Joined: Tue Jan 25, 2005 4:08 pm
- Location: bat country
- Contact:
Re: No image when posting link in FB.
From http://alilknowhow.com/2011/01/09/worki ... hare-link/ :
"If you have fixed everything and it still doesn’t show, that is because you have already attempted to share the link previously, and facebook caches the thumbnails server side when you share a link. So if you share it again, rather than download the new thumbnail, facebook calls up it’s saved thumbnail from its own cache.
Solution: Share the same link but slightly different. [...] If you are just using plain old HTML, try directing straight to your index page by changing the link to http://example.com/index.html rather than http://example.com/ ."
You can apparently also go to https://developers.facebook.com/tools/debug to clear your old thumbnail from Facebook's cache instead of changing the URL.
"If you have fixed everything and it still doesn’t show, that is because you have already attempted to share the link previously, and facebook caches the thumbnails server side when you share a link. So if you share it again, rather than download the new thumbnail, facebook calls up it’s saved thumbnail from its own cache.
Solution: Share the same link but slightly different. [...] If you are just using plain old HTML, try directing straight to your index page by changing the link to http://example.com/index.html rather than http://example.com/ ."
You can apparently also go to https://developers.facebook.com/tools/debug to clear your old thumbnail from Facebook's cache instead of changing the URL.
- chainmailbikini
- Regular Poster
- Posts: 72
- Joined: Tue Jul 03, 2012 3:52 am
- Location: KY - USA
- Contact:


