When I go to the canvas page through Facebook, I get these errors. Is this something related to fbconnect? See the last line.
Errors while loading page from application
Parse errors:
CSS Error (line 96 char 29): Error in parsing value for property.: 'min-height' Declaration dropped.
FBML Error (line 107): illegal tag "body" under "fb:canvas"
FBML Error (line 211): illegal event "onlogin" in tag "fb:custom-tag"
Runtime errors:
Names beginning with "fb" are reserved by Facebook (fbconnect)
Comments
Comment #1
buddaHave you possibly set something in the Canvas -> Canvas Callback URL text field?
Comment #2
FrontBurner commentedI have my canvas callback URL set as my main page http://www.technomule.com and getting this same error. Should the callback URL be blank? Is there a URL provided in the FBConnect module to point the canvas callback URL to?
Comment #3
rf-pldev commentedSince your FB Connect site is, in effect, a Facebook app, you can't leave the canvas callback blank -- you just can't call it directly from Facebook. You can set up an alternate bookmark URL and there are other attributes that must be set correctly in order for a FB Connect site to work properly.
I would suggest you look at the FB Connect sample application and even try to get that to work (separate from any Drupal installation) if you want to learn more about FB Connect.
You can install files on your site to use on FB Canvas pages, they just can't be regular Drupal files -- so, for instance, if you wanted to create an invite page on Facebook, you could use a url such as:
http://apps.facebook.com/myappname/invite_friends.php where the "invite_friends.php" page is a FBML-compliant page.
Basically, you need to make sure that links on Facebook point to your URL for your Drupal site and any facebook.com links point to FBML-friendly pages.
This isn't related to Drupal or the module so I'm not sure this is the appropriate place to discuss it, but I also realize that it can be frustrating to set up a FB Connect site and the FB documentation isn't totally clear.
Comment #4
moshebeeri commentedHi rf-pldev,
I am facing the same problem, I could not understand you previous post.
Please take a look at http://apps.facebook.com/ofnomoto
I really did not defined the 'invite friends' link, so I do not understands what I did wrong, or how to fix that.
Appreciate any help of clue,
moshe.
Comment #5
Rhino commentedSooo, what is one meant to put in the Canvas Callback URL? http://example.com/sites/modules/fbconnect/ ??
Comment #6
Rhino commentedSorry, found my answer here http://drupal.org/node/462714
Comment #7
vectoroc commentedNo. Fbconnect does not suppot canvas pages