Some people (incorrectly) use I as an object instead of me because somewhere in school they remember hearing you should never use I after a preposition., but this is not the case.
John and I ate the fish - I is part of the subject (this is where people remember that rule, because sometimes children will say "John and me ate the fish", which is incorrect).
The fish ate John and me - the fish is the subject, and the first person speaker is part of the object of the verb. So using German as an analogue:
Ich = I (nominative case)
Mich or mir = me (accusative/dative)
And don't get me started on people misusing "myself" as a subject or an object, rather than as a reflexive or intensive pronoun.
