WordPress.org

Ideas

Auto-Generate Facebook-style Link Preview when inserting URL into Editor

  1. karulo
    Member

    @Ipstenu (Mika Epstein: I am aware of this option but I would like to be able to do it without creating a new post page (for Google bots its a low quality page).

    @abhisheksaha11: many thanks for your great work, definitely very useful and a step closer to what i am looking for ;)

    Posted: 3 years ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    You get how that plugin is STILL making a new post, right? It doesn't matter how you do it, if you want WP to have a post and control it like a post, it was to be a post.

    Otherwise you're going into the realm of RSS feeds, which puts you at the behest of what other people decide should be out there, and leaves you absolutely no historical data.

    Posted: 3 years ago #
  3. AL4711
    Member

    Example for Frontend:

    Do You mean http://manuellenz.lima-city.de/tutorial/

    Scroll to comment textarea and type what ever you think and an url, e.g. Hello http://www.rtl.de, or http://merkelumfrage.de or http://www.wordpress.org

    Textarea in the content:
    http://manuellenz.lima-city.de/wordpress/link-preview-like-facebook/

    Cardoso's script can't manage http://www.rtl.de and such other links.

    Posted: 3 years ago #
  4. mengsel
    Member

    I was looking for the same thing and I found WP Lynx (https://wordpress.org/plugins/wp-lynx/).

    It's pretty decent, takes a snapshot of whatever you're trying to link to and grabs OpenGraph image and text. The plugin's been updated last in January this year (2015), but it still works fine with the latest version. Only bug I've encountered is it doesn't accept template edits. But otherwise it's a fine plugin to do exactly what you do on Facebook when posting links: grab it, show a thumbnail, headline and a text snippet.

    Posted: 3 years ago #
  5. worm77
    Member

    Does anyone have a follow up on this one? I need something like described for people browsing my site to submit like this!

    Posted: 2 years ago #
  6. mengsel
    Member

    I believe there is a plugin called WP Lynx that does exactly that by crawling the page and generating a snippet that you can also edit. It's got a few minor bugs but generally it's a great plugin.

    WP itself now supports the OEmbed, which means that you can grab snippets for a specific group of whitelisted websites. More info: https://codex.wordpress.org/Embeds#oEmbed

    However, at the moment, not al lot of websites support OEmbed - much like it took some time before Facebook's OpenGraph metatags became widespread. The functionality should be more universal and better equipped to process any type of media, but it is still very much in development...

    Posted: 2 years ago #
  7. William
    Inactive

    Do these plugins not do what you all are wanting ...

    https://wordpress.org/plugins/z-url-preview/

    https://wordpress.org/plugins/super-link-preview/

    Posted: 2 years ago #
  8. Vlad Lasky
    Member

    12345

    @William

    To date, the only plugin that I am aware of that that comes close is WP Lynx:

    https://wordpress.org/plugins/wp-lynx/

    The most important element of the correct solution is that the plugin code must grab the thumbnail image and other snippet details from the linked site and then cache/save them to the server that is hosting your WordPress site.

    That way, it will display correctly even if the other site is temporarily down.

    Refer to my detailed explanation here:

    https://wordpress.org/ideas/topic/auto-generate-facebook-style-link-preview-when-inserting-url-into-editor#post-25132

    Posted: 2 years ago #
  9. Roger
    Inactive

    12345

    This is an old post but it needs to be revisited as it will drive users to post more links on their blogs instead of Facebook.

    WP already does this when you add a Youtube link to a post. Why not expand that functionality to include all URLs?

    Posted: 1 year ago #
  10. mengsel
    Member

    I agree. It's been way too long - 3 years and this functionality has still not been added to the platform. Lack of this kind of functionality is exactly why blogs and sites are on the demise and every piece of linked content is getting dragged into FB nowadays. If WordPress wants to surive another 5 years this will be one of the most crucial features to include. If necessary even by accepting OpenGraph rather than OEmbed.

    Posted: 1 year ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    10 Votes
  • Status

    This is plugin territory