SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2012
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Share Dialog Facebook

    Hello

    I want share the posts from my website, but i need get image by ID, because when I put the below code in my website he go to get all imagem from the page and i need to choose.

    Code:
    http://developers.facebook.com/docs/reference/plugins/share-links/
    It's possible make this?

  2. #2
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Yeah - you should be able to do this fairly easy with the FB.ui() method. https://developers.facebook.com/docs...ascript/FB.ui/

    If you want to have a try you can go to the FB Developer Test Console https://developers.facebook.com/tools/console/ and if you open up the Examples link below the textarea then under fb.ui click the "feed" link - it will put some code in to the textarea which you can then play around with and execute.
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }


Bookmarks

Posting Permissions

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