Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

146
Views
Is there open-source code for making 'link preview' text and icons, like in facebook?

In facebook, when you share a link, a neat little preview is created with an image headline, and text excerpt. Here's an example..

Example Link

Does anyone know if there's any open-source code (pref. php & javascript/jquery) that can generate something like this? Or should I just write it myself..

Cheers!

8 months ago · Santiago Trujillo
3 answers
Answer question

0

Embedly provides a powerful API to convert standard URLs into embedded videos, images, and rich article previews.I Searched and found an easy way to do it.

Just make a Get request to http://api.embed.ly/1/oembed?url=YOUR-URL . You will find everything in json Format.

8 months ago · Santiago Trujillo Report

0

After a bit of Googling I found this for you.

It should take you through the steps on how to create something similar to Facebook share previews.

8 months ago · Santiago Trujillo Report

0

Have a look at bootstrap-linkpreview js library as well. It should fit exactly your needs.

8 months ago · Santiago Trujillo Report
Answer question
Find remote jobs