Selvaraj M A Selvaraj M A - 2 months ago 10
Javascript Question

Creating facebook app with callback url

I am creating a facebook app. And I want to let users to login to my website using it(Using passportjs).

But to do that, I need to give callback url(my website url). But I couldn't find that field in the facebook app creating page.

Am I missing something? I have searched for it for a quite long time.

Answer

Writing as of Feb 2, 2014 I found these instructions to be current;

  1. Go to your app
  2. On the left-hand sidebar, click Settings
  3. Under the main section, click Add Platform
  4. Click 'Website'
  5. Specify your callback in the Site URL field (e.g. http://localhost:3000/auth/facebook/callback).