2
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?

Kirill Polishchuk
  • 54,804
  • 11
  • 122
  • 125
vNext
  • 1,102
  • 4
  • 16
  • 28

2 Answers2

1

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

Learning
  • 19,469
  • 39
  • 180
  • 373
1

Try using Html Agility Pack instead of regex. Explanation

Community
  • 1
  • 1
Kirill Polishchuk
  • 54,804
  • 11
  • 122
  • 125