CS6320:  SW Engineering of Web Based Systems

 

Facebook Issues/Tips

see class Wiki and online facebook resources for others....these are just a few.

 
Issue with Callback URL and "/"



  1. When you choose a Callback URL, make sure you type it in with a slash on the end
  2. Each page you want as part of your app you should link to as “[callback URL]/[page name]”



    NOTE: for J2EE applications, map a Filter class (the best) OR servlet onto the directory path and this class (filter or the servlet) is to handle authentication…and to chain the request to a different servlet/jsp (using filters this is done nicely in the deployment descriptor web.xml ) (if using a servlet instead you must read in the “[page name]” part of the incoming URL and then forward).

 

© Lynne Grewe