Question

I made a photography website for a friend and theyve asked me if its possible to add a button on each photo saying "share on facebook" so it posts on there wall saying something like "Check out this photo on blahblah...". I know this is possible but im just curious what id need to do to implement this.

Would i need to build a facebook app too or is it just a link i need to add?

Was it helpful?

Solution

You can do this in two ways. If you only want to implement a share functionality, you can do this by just making an ordinary like-button http://developers.facebook.com/docs/reference/plugins/like/.

If you want the user to be able to post a message along with the sharing you should need to make an app for it. This will at least give you some freedom as to what you want to put on their wall.

OTHER TIPS

I think what you're describing can be achieved with the Like and Send buttons The documentation is here: http://developers.facebook.com/docs/reference/plugins/like/ and all you need to do is add one or two lines of HTML to each page, and some meta tags in the header so Facebook knows what title/description/image to use when the link is shared or liked

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