Search code examples
webfacebook-likefacebook-likebox

debugger info & issues


complete HTML virgin 3 weeks ago but have managed to stumble along and get my site up and running to an ok standard but im having problems with fb intergration, fb like looks like it should, comments posting as they should but on debug i get the following....

Scrape Information

Response Code   200
Fetched URL http://shropshireradio.com/
Canonical URL   http://ShropshireRadio.com/
Object Properties

fb:app_id   149188391870835
og:url  http://ShropshireRadio.com/
og:type website
og:title    Streaming Shropshire DJs
og:image    
og:description  music of all genres under 1 roof
og:updated_time 1331952439
Raw Open Graph Document Information

Meta Tag    <meta property="fb:app_id" content="149188391870835" />
Meta Tag    <meta property="og:type" content="website" />
Meta Tag    <meta property="og:url" content="http://ShropshireRadio.com" />
Meta Tag    <meta property="og:title" content="Streaming Shropshire DJs" />
Meta Tag    <meta property="og:description" content="music of all genres under 1 roof" />
Meta Tag    <meta property="og:image" content="http://i1067.photobucket.com/albums/u437/ShropshireRadio/ShropshireRadio.jpg" />
Redirect Path

original    http://shropshireradio.com/
og:url  http://ShropshireRadio.com/
Final URL is in bold (this is the URL we tried to extract metadata from).

I can see above that it doesnt look right but cant match it up to my code to see whats wrong!! any help appreciated!! Cheers

I've had to change 2 urls fetched and cononical to post this in my script it is correct


Solution

  • The content attribute for the meta tag with property "og:type" should be something from this list currently you have it as the url for your site.

    the prefix attribute of your head tag should be this

    og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#
    

    also, you should change the data-href attribute of your fb:like tag from http://www.facebook.com/ShropshireRadio.comTeam to http://shropshireradio.com/