Registry / auth / league-oauth2-facebook

league-oauth2-facebook

JSON →
library2.2.0phppackagistunverified

Facebook OAuth 2.0 Client Provider for The PHP League OAuth2-Client

composer require league/oauth2-facebook
INSTALL
IMPORT
SIG · LEAGUE-OAUTH2-FACE
L
league-oauth2-facebook
authphpv2.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Facebook
use League\OAuth2\Client\Provider\Facebook;

Initialize Facebook OAuth2 provider and get authorization URL.

use League\OAuth2\Client\Provider\Facebook; $provider = new Facebook([ 'clientId' => 'your-client-id', 'clientSecret' => 'your-client-secret', 'redirectUri' => 'https://example.com/callback', ]); $authUrl = $provider->getAuthorizationUrl(); echo $authUrl;
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
league-oauth2-facebook — pip install league-oauth2-facebook · libregistry