/  14
 
 
 
 2
Contents
Introduction ............................................................................................................................................................................... 4General Best Practices ........................................................................................................................................................... 4Caching and Real-Time API ............................................................................................................................................ 4Canvas Apps: Use IFrame ................................................................................................................................................ 4Logging .................................................................................................................................................................................... 5Pre-loading information .................................................................................................................................................. 5API Read Tier ........................................................................................................................................................................ 5Staging Environment ......................................................................................................................................................... 5Gatekeeper............................................................................................................................................................................. 6Handling Errors with Exceptions ................................................................................................................................. 6Potential Issues: API ............................................................................................................................................................... 6Server unreachable ....................................................................................................................................................... 6Standard error code returns ..................................................................................................................................... 6Unexpected error code returns ................................................................................................................................ 7Empty or bad data returned ...................................................................................................................................... 7High latency ...................................................................................................................................................................... 8Rate limited (API_EC_TOO_MANY_CALLS) .......................................................................................................... 8Potential Issues: Social Plugins .......................................................................................................................................... 8IFrames ................................................................................................................................................................................... 8High latency ...................................................................................................................................................................... 8Firewall blocking content ........................................................................................................................................... 9Load successful, display broken .............................................................................................................................. 9Server error 500, failure to load .............................................................................................................................. 9General error ................................................................................................................................................................... 9FBML/XFBML ....................................................................................................................................................................... 9Firewall blocking content ........................................................................................................................................... 9High latency .................................................................................................................................................................... 10Load successful, display broken ............................................................................................................................ 10Server error 500, failure to load ............................................................................................................................ 10Failure to load Javascript file .................................................................................................................................. 10Javascript error, failure to load plugin ................................................................................................................ 10General error ................................................................................................................................................................. 11
 
 3Javascript Library .................................................................................................................................................................. 11Failure to load Javascript file .................................................................................................................................. 11Javascript error ............................................................................................................................................................. 11Miscellaneous .......................................................................................................................................................................... 12Like button is replacing ad units or Flash .......................................................................................................... 12Large friends lists ........................................................................................................................................................ 12Cross-domain cookies do not work in Safari .................................................................................................... 12Tools to Debug ........................................................................................................................................................................ 12Test accounts ................................................................................................................................................................. 12Firebug ............................................................................................................................................................................. 12Charles and Fiddler ..................................................................................................................................................... 12Tools to Track Platform Changes .................................................................................................................................... 13

Share & Embed

More from this user

Recent Readcasters

Add a Comment

Characters: ...

Özlem Çelikleft a comment

oyunlara erısemıyorum

deleted_fbuser_1286218599left a comment

help summary of ways to keep your integrations w/ Facebook up & running smoothly