Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 variables? firebug? please share ideas!

like image 500
amirash Avatar asked Nov 05 '22 03:11

amirash


1 Answers

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 and echo 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!

like image 138
ifaour Avatar answered Nov 09 '22 10:11

ifaour