Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

2 Answers 2

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

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

Your Answer

 
discard

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.