From 88ea0880ea07058e2f89994300ae54a7ddb986d2 Mon Sep 17 00:00:00 2001 From: Eugene Obrezkov Date: Tue, 29 Sep 2015 18:37:15 +0300 Subject: [PATCH] Update readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce7c199..9a886a8 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Build Status](https://travis-ci.org/drudge/passport-facebook-token.svg)](https://travis-ci.org/drudge/passport-facebook-token) [![Coverage Status](https://coveralls.io/repos/drudge/passport-facebook-token/badge.svg?branch=master&service=github)](https://coveralls.io/github/drudge/passport-facebook-token?branch=master) ![Downloads](https://img.shields.io/npm/dm/passport-facebook-token.svg) +![Downloads](https://img.shields.io/npm/dt/passport-facebook-token.svg) ![npm version](https://img.shields.io/npm/v/passport-facebook-token.svg) ![dependencies](https://img.shields.io/david/drudge/passport-facebook-token.svg) ![dev dependencies](https://img.shields.io/david/dev/drudge/passport-facebook-token.svg) @@ -57,7 +58,11 @@ app.post('/auth/facebook/token', ); ``` -The post request to this route should include a JSON object with the keys `access_token` and optionally, `refresh_token` set to the credentials you receive from facebook. +The post request to this route should include POST or GET data with the keys `access_token` and optionally, `refresh_token` set to the credentials you receive from facebook. + +``` +GET /auth/facebook/token?access_token= +``` ## Credits