开发者

Is there open-source code for making 'link preview' text and icons, like in facebook? [closed]

As it currently stands, 开发者_Python百科this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

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

Is there open-source code for making 'link preview' text and icons, like in facebook? [closed]

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!


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.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜