how do you debug your facebook app?
facebook php developing app is hell cause they limit scripts, what is your tools to debug it? write to file vari开发者_StackOverflow中文版ables? firebug? please share ideas!
Debugging facebook application is almost the same as any web application:
Client Side:
- Debugging the JS library online, JavaScript Test Console
- Firebug (
console.
method)
Server Side:
- Firebug
Net
tab and FirePHP (if you feel comfortable using it) - basic
var_dump
andecho
commands
What I really find hard to grasp is their documentation!
Extra tip:
Try playing around with the FQL methods, creating a test group/page and events..etc to better understand how FB Graph API works. It'll make reading the Documentation easier too!
精彩评论