Mobile app version of vmapp.org
Login or Join
Voss4911412

: 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

@Voss4911412

Posted in: #AspNet #Facebook #Html #SocialMedia #WebDevelopment

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 achieve that is fine.

Thank You.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Voss4911412

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

This should be what you're looking for. developers.facebook.com/docs/share However, do note that that is no longer the recommended way to do it. Soooo...

Use either the OpenGraph or the Like Button. The latter is the easier of the two.
developers.facebook.com/docs/opengraph developers.facebook.com/docs/reference/plugins/like
edit- As an addendum if you look at the documentation for share and search for "Creating Your Own Share URL" (bottom of the page) you'll see how to construct the proper url.
www.facebook.com/sharer.php?u=<url to share>&t=<title of content>
www.facebook.com/sharer.php?u=http://farm1.static.flickr.com/9/14443265_696a35719b_o.jpg&t=aFlickrPicture
HTH.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme