If you’ve previously downloaded Messenger, Apple may offer a last compatible version automatically when you try to reinstall it from your Purchase History .
Open AltStore on your phone, go to the tab, tap the + icon in the top left corner, and select the downloaded Messenger IPA. Messenger Ipa Old Version