Yes, you can cook long weiners in an air fryer. Preheat your air fryer to 375 degrees Fahrenheit and place the weiners inside the basket. Cook for about 5-6 minutes or until golden brown and crispy on the outside.