abraham / twitteroauth

The most popular PHP library for use with the Twitter OAuth REST API.
https://twitteroauth.com
MIT License
4.3k stars 1.71k forks source link

error on callback: Cette fonctionnalité est temporairement indisponible #1202

Closed whitewhidow closed 1 year ago

whitewhidow commented 1 year ago

What are you attempting to do Attempting to have our users link their twitter account

Expected behavior The regular oauth flow

Actual behavior When processing the callback, we get an error :

Cette fonctionnalité est temporairement indisponible

Abraham\TwitterOAuth\
TwitterOAuthException

Code example

$client = New TwitterOAuth(
            $connection->getNetwork()->getClientId(),
            $connection->getNetwork()->getClientSecret(),
            $connection->getRequestToken(),
            $connection->getRequestTokenSecret()
        );
        $client->setApiVersion('2');
        $this->setClient($client);

        // request user token
        $token = $this->getClient()->oauth(
            'oauth/access_token',
            [
                'oauth_verifier' => $request->query->get('oauth_verifier'),
            ]
        );

Additional context The issue started occuring, without having changed the code

Any idea what could cause this ?

Thank you