Last active
April 28, 2016 11:21
-
-
Save pedroadaodev/8deda3a9deebe68f1e59a4294cb31c63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
var title = "Title Page"; | |
var description = "Page Description"; | |
var image = "http://www.website.com/image-share.jpg"; | |
} | |
<title>@title</title> | |
<meta name="description" content="@description" /> | |
<link rel="@image" type="image/jpeg" /> | |
<meta property="og:type" content="website" /> | |
<meta property="og:title" content="@title" /> | |
<meta property="og:description" content="@description" /> | |
<meta property="og:image" content="@image" /> | |
<meta property="og:image:width" content="1024" /> | |
<meta property="og:image:height" content="600" /> | |
<meta property="og:site_name" content="SITE NAME" /> | |
<meta property="og:url" content="@Request.Url" /> | |
<meta property="fb:app_id" content="app-id" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
more info in my blog
http://adaodeveloper.blogspot.pt/2015/11/seo-and-facebook-share.html