I have developed one Facebook Application.
In facebook, page tab url I have specified a landing url, it is landing safely no issues.
Now I want if I click on like button, it should call another landing page.
What can be best solution for this ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you will have to do is read the
signed_requestpassed to your tab application.The
signed_requestwill contain information on whether or not the current user “liked” the page that the app is on. Once you know if the user “liked” the page or not, in the even that s/he has already liked the page, you can redirect them to whatever URL you wish.I see you have specified
asp.netof which I have no knowledge, but I can tell you that thesigned_requestis passed to your application as a POST request. From there you need to parse the signed request and then you can read it’s contents.Here is a simple JavaScript redirect (in PHP) –