Having an annoying issue, when I am on Twitter in Safari it offers to open the app, which I don't want to do. I use the app for work tweets and safari for personal.
That's part of the Twitter website. You could try to find a content blocker that allows you to select portions of specific pages to block, otherwise there's little you can do.