    # File lib/termtter/api.rb, line 33
          def setup
            # NOTE: for compatible
            @connection = twitter.instance_variable_get(:@connection)
            if config.access_token.empty? || config.access_token_secret.empty?
              if config.token_file &&
                   File.exist?(File.expand_path(config.token_file))
                config.access_token, config.access_token_secret = File.read(File.expand_path(config.token_file)) \
                                                                      .split(/\r?\n/).map(&:chomp)
              else
                self.authorize_by_oauth(true)
              end
            end

            access_token = OAuth::AccessToken.new(consumer, config.access_token, config.access_token_secret)
            @twitter = RubytterProxy.new(access_token, twitter_option)

            config.user_name = @twitter.verify_credentials[:screen_name]
          end