facebook like button not displaying news article content
I'm implementing a facebook like button on a simple blog/news section I created in an MVC 3 web application.
I used the XFBML way to implement this.
It works, but not completely. When clicking and checking it on facebook, it shows the title I specified.
Here is a piece of code. The viewbag information comes from my view, this is in the layout/master page.
<meta property="og:title" content="@ViewBag.FGTitle" />
But since it's a news item, I also want the content of the article to be displayed. It only shows, the title, the site name and that's it.
I checked the facebook deve开发者_运维知识库loper page, but I cant find a meta property/Open graph type in which i can set this content.
any ideas?
see the facebook url linter it shows you exactly what facebook sees when greping the url. Also you should read up on the other meta tags
精彩评论