Skip to content

Commit

Permalink
readmefix
Browse files Browse the repository at this point in the history
  • Loading branch information
dhigginbotham committed Jul 25, 2013
1 parent 403381e commit d15a97a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Expand Up @@ -38,11 +38,18 @@ var options = {
// create your `facebook` object so you can do stuff
facebook = new fbauth(options);

// persist your session like you can in `passport.js`
app.use(facebook.session);

// mount the auth routes
facebook.mount(app);
```

// persist your session like you can in `passport.js`
app.use(facebook.session);
You'll receive some routes based on this:

```md
http://localhost:3000/auth/facebook
http://localhost:3000/auth/facebook/logout
```

## Options
Expand Down

0 comments on commit d15a97a

Please sign in to comment.