Reputation: 24010
I'm seeking a lib that takes a URL and returns back useful information like:
Anything around?
Upvotes: 0
Views: 2035
Reputation: 355
Yes. You can send ajax request to a php file which gets contents of the url using file_get_contents() function and returns it to ajax. Then we can extract whatever we want from this data response. For explanation, live demo and script download follow herehttp://www.voidtricks.com/extracting-url-data-like-facebook/
Upvotes: 0
Reputation: 5523
Try out the REST API links.preview method - https://developers.facebook.com/docs/reference/rest/links.preview/
You can also test out a few URLs to see if this is what you are looking for.
Upvotes: 1