tasomaniac / OpenLinkWith

Open the current webpage you have in another app. Magic! 🔮

Home Page:https://play.google.com/store/apps/details?id=com.tasomaniac.openwith

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with Facebook links

MadorTorreador opened this issue · comments

Hi, I have noticed some kind of problem with facebook links. It only happens if I set OLW as a default browser and force facebook to directly open link with an external browser (OLW in this case).
I am using android 12 so I cannot use system prompt to always select in which browser I do want to open link, however on android 11 device I can choose in which app to open and by doing this, and selecting OLW, everything work without a problem.
The problem is facebook uses some very long links that are probably supposed to track your data. So for example if I click on the link "github.com" in facebook post, the link sent from app is "lm.facebook.com/xxxxxxgithub.comxxxxxx". They average at 600-700 characters.
After clicking on the link, OLW dialog opens. I choose chrome and only thing that opens is facebook homepage. Why is that? Why can't the app just directly forward the link to the browser or the app choosed by the user?
It also happens with messenger links, but not always - most of the times only when someone sends PDF or DOCX over messenger.
The problem isn't present if links are opened by browser inside facebook app and then forwarded to external browser.
Do the app maybe have character limit? Maybe it somehow changes the link? After comparing the link gathered by an app " copy link to clipboard " on android 11 before and after using OLW it is indeed different - this is partly because every facebook click results in a different link, but there are some differences like "&refsrc=deprecated&_rdr" at the end of the link from OLW which is not present by directly copyong the link. Sadly deleting this part does not make link usable.
The issue is present on the 2.8 and 2.9 app version for more than a year, but never bothered to open case here, and just downgraded to android 11 to bring back what google took.