Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to create URL extractor like facebook share

i need to extract data from url like title , description ,and any vedios images in the given url like facebook share button

like this : http://www.facebook.com/sharer.php?u=http://www.wired.com&t=Test

regards

like image 311
SMSM Avatar asked Jun 08 '10 17:06

SMSM


People also ask

What is URL Extractor?

About URL Extractor This tool will extract all URLs from text. It works with all standard links, including with non-English characters if the link includes a trailing / followed by text. This tool extracts all URLs from your text. If you want to remove duplicate URLs, please use our Remove Duplicate Lines tool.


1 Answers

Embed.ly has a nice api for exactly this purpose. Their api returns the site's oEmbed data if available - otherwise, it attempts to extract a summary of the page like Facebook.

like image 115
Jitters Avatar answered Oct 27 '22 01:10

Jitters