Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Sep 26, 2013 @ 12:46
    Alex Skrypnyk
    0

    Link grabber as on facebook

    Could you tell me how to create such functionality as on facebook. User insert link and web site grab data from link )

    enter image description here

    http://screencast.com/t/f6LUBKxBz

    Thanks, Alex

  • Nikola Romcevic 26 posts 139 karma points
    Oct 02, 2013 @ 10:45
    Nikola Romcevic
    0

    I'm not sure how Facebook does it, but the content you are seeing is the <title> of the page:

    Welcome to Facebook - Log In, Sign Up or Learn More

    , the <meta name="description">:

    Facebook is a social utility that connects people with friends and others ...

    and the image in the <meta property="og:image">-tag:

    https://www.facebook.com/images/fbicon325x325.png

    One way of obtaining these is to create a script, a web crawler, that "scans" a page and identifies the tags you are interested in and grab their content.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies