def add_application(app)
      app = DoesFacebook::Application.new(app) if app.is_a?(Hash)
      @applications << app
    end
def add_application(app)
      app = DoesFacebook::Application.new(app) if app.is_a?(Hash)
      @applications << app
    end
Add an application definition: