登錄使用者並使用 FB 或 google 獲取訪問權杖。
終點:http://your-site.com/api/social-login
POST 資料:
鑰匙價值描述必填access_token字串FB 或 Google access_token是的供應商字串(facebook、google)登錄網站是的google_key字串谷歌 API 金鑰是,如果提供者 = google
JSON 格式的成功 repsond:
{
"api_status": 200,
"access_token": "", // store this, it will be used for all other API calls
"user_id": "", // authenticated user id
"timezone": "", // user timezone
}