Social auth facebook api
This module provide a endpoint to login to drupal by facebook's access_token
And this module use the same logic of social_auth_facebook
Dependencies:
Endpoint
Url:
`/user/login/facebook?_format=json` [POST]
Post body:
{
"access_token": "TEST0uFkIayQBAHxaGTESTNo10zcY3p3Tj1TJc8xoeJasrWqFmX2OLDPr6nKBM3ZC0d8U0bPvmhDZAvqLRmOAhpWbqZBwE4maZAEg9zSelbxlXwHZBrJagblxcFnIEbBgOLZAPKgiq4zL3kDN9wj4wTGib9E9rWm00W882EZAKVWQZDZD&appsecret_proof=b4458eaa830673dd24af7295270c169cbc7407869e8182eec187db03b599c6c6&fields=id%2Cname%2Cemail"
}
Return:
{
"current_user": {
"uid": "95",
"name": "Lawxen Lau"
},
"csrf_token": "uxOLrfapTCGcQ0LRWY0X3TOjAINtpB6RpGnsqDayitg",
"logout_token": "PwBdLEsHkahWHqdkyZ8mfDxIewKYFu5ZEzA3stBk3Eg"
}
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Social ecosystem
Most installed first