OAuthException Object
(
    [message:protected] => Invalid auth/bad request (got a 403, expected HTTP/1.1 20X or a redirect)
    [string:Exception:private] => 
    [code:protected] => 403
    [file:protected] => /var/www/html/www.42goals.com/include/cherokee/Twitter.php
    [line:protected] => 58
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/html/www.42goals.com/include/cherokee/Twitter.php
                    [line] => 58
                    [function] => getRequestToken
                    [class] => OAuth
                    [type] => ->
                    [args] => Array
                        (
                            [0] => https://api.twitter.com/oauth/request_token?oauth_callback=http%3A%2F%2Ffr.42goals.com%2Fsystem%2Ftwitter%2Fconnect%2F%3Fredirect%3D%2Fusers%2Fvoil220%2Fposts%2F
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/html/www.42goals.com/handlers/static/system/twitter/TwitterSystem.php
                    [line] => 31
                    [function] => authorize
                    [class] => Twitter
                    [type] => ->
                    [args] => Array
                        (
                            [0] => http://fr.42goals.com/system/twitter/connect/?redirect=/users/voil220/posts/
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/html/www.42goals.com/include/cherokee/Routers/HttpRouter.php
                    [line] => 81
                    [function] => handleGetConnect
                    [class] => TwitterSystem
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [query] => system/twitter/connect/
                                    [redirect] => /users/voil220/posts/
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/html/www.42goals.com/include/cherokee/Routers/BaseRouter.php
                    [line] => 64
                    [function] => callController
                    [class] => HttpRouter
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TwitterSystem Object
                                (
                                    [rules:protected] => Array
                                        (
                                            [connect] => (connect): type
                                            [disconnect] => (disconnect): type
                                        )

                                    [status:protected] => 
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/html/www.42goals.com/loader.php
                    [line] => 26
                    [function] => route
                    [class] => BaseRouter
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
    [lastResponse] => Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings
    [debugInfo] => Array
        (
            [sbs] => GET&https%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token&oauth_callback%3Dhttp%253A%252F%252Ffr.42goals.com%252Fsystem%252Ftwitter%252Fconnect%252F%253Fredirect%253D%252Fusers%252Fvoil220%252Fposts%252F%26oauth_consumer_key%3D85s2cIdRZtSCGQNUf6PXig%26oauth_nonce%3D2345816265ded4a06ab6ed0.82109653%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1575832070%26oauth_version%3D1.0
            [headers_recv] => HTTP/1.0 403 Forbidden
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
content-length: 203
content-type: application/xml;charset=utf-8
date: Sun, 08 Dec 2019 19:12:21 GMT
expires: Tue, 31 Mar 1981 05:00:00 GMT
last-modified: Sun, 08 Dec 2019 19:12:21 GMT
ml: A
pragma: no-cache
server: tsa_b
set-cookie: personalization_id="v1_MZxi0pZrfQLAZ+kDj3cGsg=="; Max-Age=63072000; Expires=Tue, 7 Dec 2021 19:12:21 GMT; Path=/; Domain=.twitter.com
set-cookie: guest_id=v1%3A157583234100184113; Max-Age=63072000; Expires=Tue, 7 Dec 2021 19:12:21 GMT; Path=/; Domain=.twitter.com
status: 403 Forbidden
strict-transport-security: max-age=631138519
x-connection-hash: 410805ed728061c8fa642f7e213dda9e
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-response-time: 11
x-transaction: 0099a66700e67c20
x-twitter-response-tags: BouncerCompliant
x-ua-compatible: IE=edge,chrome=1
x-xss-protection: 0
            [body_recv] => Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings
        )

)
1