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
  • 52,773
  • 10
  • 120
  • 121
vNext
  • 1,042
  • 4
  • 16
  • 27

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
  • 18,542
  • 37
  • 165
  • 337
1

Try using Html Agility Pack instead of regex. Explanation

Community
  • 1
  • 1
Kirill Polishchuk
  • 52,773
  • 10
  • 120
  • 121