Links on my Facebook messenger cause the game to open

I don't really know what is causing the issue mentioned, probably something with my phone not the game, but everytime I try to open a link in messenger I or someone else sends it just opens the game. It is quite annoying.
I have a Samsung S7 active.