elemjay19
elemjay19

Reputation: 1166

Warning from HTML/Javascript Facebook application

When I put my application link in the Object Debugger, I get this warning:
Extraneous Property Objects of this type do not allow properties named og:site_url.

I don't have any Meta tags in my code. I don't know how to fix an extraneous property that I haven't even defined. Any ideas how to fix that?

This is the only script being called in my code right now. I paired down all the other stuff and with this I still got the error. Although not when I put in the link for the canvas page, only with the link to the app itself.

FB.init({
    appId  : '###',
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml  : true, // parse XFBML
    channelUrl  : 'mysite.com/channel.html', // Custom channel URL
    oauth : true // enables OAuth 2.0
});

Upvotes: 0

Views: 499

Answers (1)

Saket
Saket

Reputation: 46137

Try changing

channelUrl : 'mysite.com/channel.html'

to

channelUrl : '//www.mysite.com/channel.html'

Ref - http://developers.facebook.com/docs/reference/javascript/

Upvotes: 1

Related Questions