Cut the Spam into small cubes.
Separate the egg whites from the yolks.
Finely chop the onion and green onion.
Drizzle cooking oil in a pan.
Stir-fry the Spam until golden brown.
Add the onion and green onion to the pan and sauté together.
Add the rice and stir-fry, mixing well.
Add the egg whites and stir-fry quickly until evenly combined.
Season with salt and pepper to taste.