[php] Is there open-source code for making 'link preview' text and icons, like in facebook?
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.
In facebook, when you share a link, a neat little preview is created with an image headline, and text excerpt. Here's an example..