Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Social Auth Facebook Api

No security coverage Under active development 3 sites

Part of the Social ecosystem · 70 projects

This module allows users to log into Drupal using their Facebook access token. It provides an API endpoint for decoupled applications to authenticate users via Facebook.

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:

  1. social_auth_facebook:^3.0
  2. social_auth_decoupled:^3.0

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"
}

Ask your assistant about Social Auth Facebook Api

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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.

Activity

Tracked releases
2
Tracked since
May 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
3.x-dev Dev 8–10 PHP >=7.0.8 May 20, 2024
3.0.0-rc3 Pre-release 8–10 PHP >=7.0.8 May 20, 2024