Name

Auth Facebook Login

Description

Facebook Login to register/login get an authToken to be used for future calls

Uri

/v1/auth/facebooklogin

Parameters

Name Required Default Format Examples Description
appKeyyesstringqiusdjsls9273sdYour application key
accessTokenyesstringCAAXGN44t1I8BAESOEDVT1ewKA15QmrbvjKwDThx8TThe facebook access token retrived from their API
tempAuthTokennostringdGVzdF9rZXkmNCYxNDEwODk4MzgxJmRldmVsThe tempAuthToken is only returned from a /user/addreview call. If this is given, then any reviews for the temporary user will be transfered to this new facebook logged in user.

Response Description

Example Request

http://api.healthoutcome.org/v1/auth/facebooklogin?accessToken=CAAXGN44t1I8BAESOEDVT1ewKA15QmrbvjKwDThx8T&appKey=test_key