Messenger notifications settings for iphone 6s?

So I was wondering if anyone knew how to change the Facebook messenger app settings so that it does not show the name from who you go the message from and have it only say you got a new message? I know it can be done, because I've seen it, I just don't know how to do it. Any help would be appreciated, thanks.