Skip to content
This repository was archived by the owner on Sep 8, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (27 loc) · 564 Bytes

auth_facebook.md

File metadata and controls

40 lines (27 loc) · 564 Bytes

auth/facebook Endpoint

The auth/facebook endpoint logs you into the plug.dj service.

Note: This sets the pw member in your state data to false

Endpoint

auth/facebook

Method

POST

Parameters

csrf: Cross Site Request Forgery token

accessToken: Access token given by facebook.com

userID: userID given by facebook.com

{
    "csrf": "xxxxx",
    "accessToken": "xxx", 
    "userID": "xxx"
}

Data returned

{
    'data': [],
    'meta': {},
    'status': 'ok',
    'time': 'xx.xxxxxxxxxxx'
}