www.webdeveloper.com
Results 1 to 2 of 2

Thread: Face book Share button for different pictures

  1. #1
    Join Date
    Jun 2010
    Posts
    47

    Face book Share button for different pictures

    Hi, I have a website that has a photo gallery, and I would like to give the user the ability to share the pictures on facebook. What I would like to do is have a facebook share button under each picture, and when they click on it they can share that specific picture with a thumbnail image of it on facebook.

    Is this possible, I've tried it before and could not figure out how to do it.

    Thanks in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    Europe
    Posts
    1,114
    You need to read over the FB API.

    There are a few ways to do it. Some using Open Graph Meta Tags... such as your site. Others can be by using each picture as a post on your blog and linking it to FB using their API or a plugin.
    I think that you can also post the image on Flickr and make it work that way...

    Here's a bunch of scripts for you to play with that should help:
    http://blog.dreamcss.com/tech/facebo...onkey-scripts/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles