Does Facebook provide a way to load debug JS?

泪湿孤枕 提交于 2019-12-05 05:01:13

You can reference the debug version using the URL

//connect.facebook.net/en_US/all/debug.js

Without becoming a facebook partner, there is no way to get the debug versions of the API.

I find both Firebug as well as the Chrome debugger to work equally well for me.

Logging is actually enabled by default with the current Facebook JS SDK. That's about all the debugging you'll get. They don't have an uncompressed currently either (although they promised to put one on github in December 2011).

You can only turn off logging by passing {logging: false} to FB.init()

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!