Feature #5995  add facebook_is_canvas  param to control whether is Facebook canvas mode or not