Question

When I use facebook.com/share.php?u=mysite.com, what must I do in my index.html document so that it gets an image as well?

Setting Title and META Description will populate the title and the description of the link.

I don't know how to do that to show an image. (index.html has Flash in it, no images).

Thank you!

Was it helpful?

Solution

Try this:

<link rel="image_src" href="http://example.com/img.jpg"/>

OTHER TIPS

Well, I must admit I'm a bit confused right now.

There used to be a page here

http://wiki.developers.facebook.com/index.php/Facebook_Share/Specifying_Meta_Tags

That covered all this, but now it just redirects to here

http://developers.facebook.com/docs/reference/plugins/like

So I'm not sure if they're trying to get rid of "Facebook Share" and wholesale replace it with the Like Button or what - there's nothing in the developer blog, live status, or roadmap about it.

I suppose you can try specifying an <og:image> attribute and then testing it the URL Linter and see what happens.

EDIT

I opened a forum topic about this.

EDIT 2

Documentation now located here http://developers.facebook.com/docs/share

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top