Facebook add thumbnail when sharing your site
How can I add a thumbnail when using the facebook.com/sharer.php?u=mysite.com? I've added this to the header: <link rel="image_src" href="http://mysite.com/image.jpg"/>
But: 1. It's not working (yet). 2. It's not valid XHTML.
Is there anyother way or am I doing something wrong?
First, image dimensions matter. It must be at least 50x50 pixels, and images must be up to three times as wide as they are tall.
Second, you can use a meta tag to specify the page image, e.g. <meta property="og:image" content="http://mysite.com/image.jpg"/>
Also notice that Facebook caches pages, so if you want to be sure how Facebook handles your latest version, use their URL Linter.