views:

119

answers:

0

Follow the following direction in:

http://wiki.developers.facebook.com/index.php/Facebook_Connect_Via_SSL

to use SSL version facebook connect, some of CanvasUtil functions regarding the resizing doesn't seem to work, the code is as following:

FB_RequireFeatures(["Connect","Api","CanvasUtil"], function() {
  FB.Facebook.init(apiKey, channel,{
     "doNotUseCachedConnectState":true
  });

  FB.CanvasClient.getCanvasInfo(function(info){
     alert("get it");
  });
}); 

I don't see "get it". If I swtich back to http version, I could get the alert message and things are ok. Does anyone know how to make CanvasUtils from SSL facebook connect working? It might be a bug in facebook.

Thanks a lot!

related questions