I'm currently trying to get my Facebook share button to change what it shares depending on the current page. Currently I'm using the meta tags
<meta property="og:image" content="Logo.jpg"/>
<meta property="og:title" content="Little blurb about current page">
<meta property="og:type" content="website"/>
<meta property="og:description" content="This area should have different content that
changes with the current page>
And then in my layout.cshtml I have the actual plug in from Facebook
`<span class="fb-like" data-layout="standard" data-action="like" data-show-faces="false"
data-share="true"></span>`
Then at the end I poped in some JQuery to get the og tag to change but it's not working...
$(document).ready(function () {
var share = $(".value").text();
$("meta[property='og\\:title']").attr("content", share);
});
I know this is possible, I even have an example of a site doing exactly what I'm trying to do http://elure.co/ (at the bottom of the page)