# File lib/facebook_desktop_session.rb, line 57
    def get_login_url(options={})
      # options
      path_next = options[:next] ||= nil
      popup = (options[:popup] == nil) ? true : false
      skipcookie = (options[:skipcookie] == nil) ? false : true
      hidecheckbox = (options[:hidecheckbox] == nil) ? false : true
    
      # get some extra portions of the URL
      optionalNext = (path_next == nil) ? "" : "&next=#{CGI.escape(path_next.to_s)}"
      optionalPopup = (popup == true) ? "&popup=true" : ""
      optionalSkipCookie = (skipcookie == true) ? "&skipcookie=true" : ""
      optionalHideCheckbox = (hidecheckbox == true) ? "&hide_checkbox=true" : ""
    
      # build and return URL
      return "http://#{WWW_HOST}#{WWW_PATH_LOGIN}?v=1.0&api_key=#{@api_key}&auth_token=#{@desktop_auth_token}#{optionalPopup}#{optionalNext}#{optionalSkipCookie}#{optionalHideCheckbox}"
    end