I have pain on left side along the ribs more but it's not rib pain. Could it be spleen irritation?

Probably not. Left sided pain is usually caused by large intestine distention with gas. It is called splenic flexure syndrome and usually improves after passing gas. If it is persistent you should see a physician as it could also be your heart or stomach.