Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ok, so here was my first question:
How do I allow visitors on my site to share my photos on their facebook news feed?

After implementing it I realized what I really want is a link that uploads the image as a photo to their photo album.

How would I got about getting an image on my site to upload to their photo album when they click on a facebook icon next to the image?

Any thoughts at all are appreciated.

Thank You.

share|improve this question

To share an image in a user's stream can be as simple as adding a correctly formatted link. However, I'm fairly sure that to upload to a user's album by clicking a button you'd have to make use of Facebook's API. While that's not a detailed answer, I have unfortunately never worked with it personally, so I don't have an example implementation.

The place to start with Facebook's API documentation is http://developers.facebook.com/docs/reference/api/photo/. I also found this blog post whose link I can't post because of the limit, but it uses PHP anyway.

For .NET type stuff I found http://www.datasprings.com/resources/articles-information/developing-with-facebook-api-sdk-w-asp.net. I can't provide a link to the SDK I found due to the limit.

share|improve this answer
PHP example daipratt.co.uk/facebook-api-upload-photo – morewry Apr 28 '11 at 15:11
SDK link facebooksdk.codeplex.com/documentation – morewry Apr 28 '11 at 15:12

Here's a blog post from Facebook on how to do it: http://developers.facebook.com/blog/post/498

share|improve this answer
You can now upload using a URL, which could be the one on your site. So it's even easier now: developers.facebook.com/blog/post/526 – paulmorriss Jul 25 '11 at 15:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.