How do I create links that will post images on facebook?

Discussion in 'Facebook' started by offthedome, Apr 23, 2011.

  1. #1
    I've seen so many sites be able to do things like post facebook banners or post images onto facebook.

    How do I do that?
     
    offthedome, Apr 23, 2011 IP
  2. fundu

    fundu Well-Known Member

    Messages:
    1,230
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    185
    Digital Goods:
    2
    #2
    putting a og:image meta tag on your page will do this when you share the page link.

    eg.
    <meta property="og:image" content="Your Image URL"/>
    Code (markup):
     
    fundu, Apr 23, 2011 IP
  3. nvidura

    nvidura Well-Known Member

    Messages:
    1,780
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    #3
    If you need to use facebook social graph you must use

    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:og="http://ogp.me/ns#"
          xmlns:fb="http://www.facebook.com/2008/fbml"
          xml:lang="en"
          lang="en">
    Code (markup):
    above attributes in your html tag.

    Following is a good tutorial
    http://developers.facebook.com/docs/opengraph/

    and this site is a very good example..
    http://www.esrilankans.com/welcome.do Just go through the source code...
     
    nvidura, Apr 23, 2011 IP
  4. JPMiddleton

    JPMiddleton Well-Known Member

    Messages:
    1,728
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    115
    #4
    As far as I am aware, when you post a link on FB it gives you options to choose a thumbnail of which images are on the page you are linking, so it's not complicated. If there isn't an image it won't post it. Or maybe I am over simplifying it.
     
    JPMiddleton, Apr 24, 2011 IP
  5. nvidura

    nvidura Well-Known Member

    Messages:
    1,780
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    #5
    You will be given that image selection option if you have not setup open graph attributes on your webpages... If you use open graph, you will have an option to set custom images which are not in the page's <img> attributes. That is the method recommended by Facebook.
     
    nvidura, Apr 24, 2011 IP
  6. donatello

    donatello Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    donatello, Jun 9, 2011 IP
  7. kurtmauro

    kurtmauro Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Use a url shorten-er websites to make your link appear more "click" friendly.
     
    kurtmauro, Jun 11, 2011 IP
  8. jwmann2

    jwmann2 Peon

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Certain groups will or will not allow you to post photos, links, etc. It depends on what their settings are.
     
    jwmann2, Jun 13, 2011 IP
  9. RobCopywriter

    RobCopywriter Peon

    Messages:
    74
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Most sites you should be able to include a thumbnail image to your post. As for notes and fan pages, I'm unsure on how to do what you're asking.
     
    RobCopywriter, Jul 22, 2011 IP
  10. xenon121

    xenon121 Active Member

    Messages:
    696
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #10
    thanks for the information. i also do not about this feature.
     
    xenon121, Jul 23, 2011 IP