问题
I'm failing making the Facebook javascript SDK work to parse xfbml. I'd like to debug but I can't see anything in the FB documentation about it.
I explorered the following solutions, and combinations of them:
Creating a div for the log:
<div id="log-container"> <div id="log"></div> </div>
Setting the verbosity level:
FB.init({ appId : 'app_id', status : true, cookie : true, xfbml : true, level : "debug" });
includes the debug sdk
<script src="http://static.ak.fbcdn.net/connect/en_US/core.debug.js"></script>
Can't get anything to work.
回答1:
I don't think the debug is supported anymore for FB.init() in the SDK. This question may be irrelevant now.
来源:https://stackoverflow.com/questions/4713882/how-do-you-debug-facebook-connect-apps-and-xfbml-parsing-using-the-javascript-sd