Dice the Spam, onion, and green onion into small pieces.
Beat the eggs in a bowl and set aside.
Heat oil in a pan and stir-fry the Spam first.
Add the onion and green onion, and stir-fry together.
Add the rice and mix evenly.
Pour in the beaten eggs and quickly stir-fry to finish.