This question already has an answer here:
I have one website (news) build and have apps for Playstore and AppStore. The article always has the option to share to facebook. So when a user uses their smartphone access my website, I want to check if their device has my app installed
</div>