Is it possible to get pink eye if somebody farted on my pillow three times?

Depends. Did the person have clothes on or not? If not, fecal material could deposit on the pillow, if clothed, no worries.