Is it possible with the Facebook OpenGraph’s and API’s to redirect user to a specific URL after he Likes a certain page?
Share
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.
It’s possible.
rather than using a like social widget (which is the common way to like a page), you should implement your own button or link, which calls a Graph API method to like the page, then in use the api callback to navigate the user to a different url.
You can use facebook javascript SDK to call a Graph API method.
in this example:
using “post” in the second parameter will like, using “delete” in the second param will “unlike”