Wednesday, 15 August 2012

javascript - Facebook share button only showing www.example.com -



javascript - Facebook share button only showing www.example.com -

i added facebook "like" , "share" button on site. when click "share" usual popup prompting message. however, in pre-filled content area below, says

www.example.com www.myurl.com

i've added next , hasn't helped:

<meta property="og:type" content="website" /> <meta property="og:title" content="hello" /> <meta property="og:site_title" content="website" /> <meta property="og:description" content="sample text"/> <meta property="og:utl" content="www.mysite.com"/>

i've tried , without js sdk. i've tried iframe option.

<iframe src="//www.facebook.com/plugins/like.php?href=http%3a%2f%2fwww.mysite.com&amp;width&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;share=true&amp;height=21&amp;appid=1111111111" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowtransparency="true"></iframe>

what doing wrong? why "example.com" in description field?

it looks facebook takes while index changes. had wait hour, works. these 3 meta tags seem command content:

<meta property="og:title" content="hello" /> <meta property="og:site_title" content="website" /> <meta property="og:description" content="sample text"/>

javascript html html5 facebook facebook-graph-api

No comments:

Post a Comment