Class Facebooker::Session::Desktop
In: lib/facebooker/session.rb
Parent: Session

Methods

Public Instance methods

[Source]

# File lib/facebooker/session.rb, line 595
      def login_url
        super + "&auth_token=#{auth_token}"
      end

[Source]

# File lib/facebooker/session.rb, line 604
      def post(method, params = {},use_session=false)
        if method == 'facebook.profile.getFBML' || method == 'facebook.profile.setFBML'
          raise NonSessionUser.new("User #{@uid} is not the logged in user.") unless @uid == params[:uid]
        end
        super
      end

[Source]

# File lib/facebooker/session.rb, line 599
      def secret_for_method(method_name)
        secret = auth_request_methods.include?(method_name) ? super : @secret_from_session
        secret
      end

[Validate]