Use this information to see if there is a compatible version available. That is up to the developer. With an iPhone 4, you will not be able to update higher than iOS 7.1.2. Install an app on an earlier version of iOS or OS X - Apple Support
If that does not work, you can always contact Facebook to see what they have to say. It is up to them what versions of their app they make available.