Reputation: 618
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 developer page, but I cant find a meta property/Open graph type in which i can set this content.
any ideas?
Upvotes: 0
Views: 465
Reputation: 30753
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
Upvotes: 1