开发者

How do I allow visitors on my site to share my photos on their facebook news feed?

How do I allow visitors on my site to share my photos, on their Facebook wall/news feed?

I see that there is a "share" or "like" option from Facebook but that seems to share the whole page.

I would like to have it so that each picture has a small Facebook icon next to it and when they click it, that specific image only is added to their Facebook news feed/wall.

My site is in ASP.NET 3.5 using C#. I can develop in C# so if that is a route to what I am trying to achi开发者_如何学Pythoneve that is fine.

I did see this question and answer:

How to post news feed in facebook from my site

Is this still the correct way to do this? Are there any examples of this?


You may want to look at The Facebook Open Graph Protocol, esp. if you're photos can have a page of their own, with meta tags in the head.

See (at the bottom of the Object Types section)

Use article for any URL that represents transient content - such as a news article, blog post, photo, video, etc.

This may suit your needs (and should allow you to place a like button next to the image). If not, take a look through the facebook developers docs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜