buttonfacebook-likefacebook-iframe

Facebook Like button on Photography site not working right


I am new to this. We have a wedding photography web site. http://www.DawnKellyPhotography.com/fbshare/FBalbum/

I have used the Facebook developer page to generate the code to put on the put a Like button on each image's individual page, using the iframe method.

<iframe src='//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdawnkellyphotography.com%2Ffbshare%2FFBalbum%2F%3Fshow%3Dslides%2FNodownLoad.html&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:250px; height:80px;' allowTransparency='true'></iframe>

I have also added the meta og tags to the image's html wrapper file.

<meta property="og:type"                 content="website"> 
<meta property="og:sitename"             content="Dawn Kelly Photography"> 
<meta property="og:url"                  content="http://www.DawnKellyPhotography.com /fbshare/FBalbum/?show=slides/NodownLoad.html"> 
<meta property="og:image"                content="http://www.DawnKellyPhotography.com/fbshare/FBalbum/slides/NodownLoad.jpg">
<meta property="og:title"                content="Facebook Test Gallery">

I was expecting that the Like click would post the og:image and the og:url. Instead, just a link to the web site's base url is being posted along with the home page's image. The gallery is generated using JAlbum and a custom skin, and runs on the web site using a custom javascript. I have access to change any of these as needed.

Thanks in advance.

Any help will be appreciated.


Solution

  • You are missing og:image tags from your link you specified in your iframe.

    Fix the warnings you have on the linter tool.

    Inferred Property:  The og:url property should be explicitly provided, even if a value can be inferred from other tags.
    Inferred Property:  The og:title property should be explicitly provided, even if a value can be inferred from other tags.
    

    http://graph.facebook.com/10150531249004372

    http://developers.facebook.com/tools/debug/og/echo?q=http%3A%2F%2Fdawnkellyphotography.com%2Ffbshare%2FFBalbum%2F%3Fshow%3Dslides%2FNodownLoad.html