using WebClient client = new WebClient();
开发者_运维知识库
var data = client.DownloadString(url);
then using Regex to retrieve metadata (title, description, images) like facebook url attach, but I don't know how to write Regex.
Any help?
Try using Html Agility Pack instead of regex. Explanation
Can you please put the code if you have done it. I am bit confused with HTML Agility pack, as i am not able to find an example where i can simply extra title, description & give user choice to select and image from a particular URL
精彩评论