Is there any way to extract data from url like facebook does?
I refered many links but this is using php code. This- http://www.99points.info/2010/07/facebook-like-extra
Take a look at this open-source project:
http://nalgorithm.wordpress.com/2011/12/05/embedded-url-representation/
It is actually a class library, which is called by an MVC application client by using JQuery and its AJAX features.
It uses AgilityPack beneath but there are so many other issues you have to handle, like encoding.