I don't know whether is this possible. I am creating a site in PHP. Is it possible to detect the previous url is from facebook/twitter, and if yes redirect to an another page?
In detail I have page A and B. There is a share button in page B. On clicking that button it will post title, image, description etc of the page B to facebook. But clicking that in facebook it will redirect to page A.
Can anyone help me?