Book Image

Building Scalable Apps with Redis and Node.js

By : Joshua Johanan
Book Image

Building Scalable Apps with Redis and Node.js

By: Joshua Johanan

Overview of this book

Table of Contents (17 chapters)
Building Scalable Apps with Redis and Node.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Registering a Facebook application


Our next step will be to create a Facebook application. The passport-facebook package requires a client ID and a client secret. We cannot just make them up, even for test. We will have to create a valid Facebook application. Let's do that.

The first thing we need to do is go to https://developers.facebook.com/. You will need to log in and register as a new developer. Click on Apps | Create a New App from the header, as shown in the following screenshot:

Note

Now would be a good time to note that this may all look different. In the past, Facebook has not been shy about changing the layout and look of their site.

A dialog will appear for Create a New App. Fill Display Name (what the app is called), Namespace (this must be unique in all of Facebook), and choose Category. Then, click on Create App. The following screenshot shows my choices:

Most likely, you will have to pass a captcha security check next. You will then be taken to your application's dashboard. Here...