What is a facebook page?

What is the procedure for creating a single web page with a Facebook like button that allows the user to login to Facebook & like the random page then be redirected to another page automatically?

  • On clicking the button, user should be able to login to Facebook & like the random page setup by you. After the successful like, the user should be redirected to another page automatically?

  • Answer:

    You will first need to make an app on facebook. Visit http://developers.facebook.com and make an app for your website. Facebook has excellent documentation for it's plugins and you should have no problem setting it up. If the user grants permission to your app then you get certain basic information about him/her depending on what all you have asked for in the app requirements. For your purposes, there won't be any need to take more than the minimum required permissions (name, profile ID, profile pic and friends) and you can then redirect the user to another page by storing his/her profile ID in your database.

Varun Patil at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.