In Page Load event:
// Support for FaceBook Social Meta Graph HtmlMeta meta = new HtmlMeta(); meta.Attributes.Add("property", "og:title"); meta.Attributes.Add("content", "Title here"); Page.Header.Controls.Add(meta); meta = new HtmlMeta(); meta.Attributes.Add("property", "og:description"); meta.Attributes.Add("content", "This is the longer description"); Page.Header.Controls.Add(meta); meta = new HtmlMeta(); meta.Attributes.Add("property", "og:image"); meta.Attributes.Add("content", "http://www.yourdomain.com/path/to/thumb_image.jpg"); Page.Header.Controls.Add(meta);