Error login first: {"errors":[{"code":215,"message":"Bad Authentication data."}]}
tmhOAuth Object
(
    [response] => Array
        (
            [raw] => HTTP/2 400 
date: Mon, 27 Sep 2021 16:48:39 GMT
pragma: no-cache
server: tsa_f
status: 400 Bad Request
expires: Tue, 31 Mar 1981 05:00:00 GMT
set-cookie: personalization_id="v1_asrLXXDzg9w+PhgWM1I5PQ=="; Max-Age=63072000; Expires=Wed, 27 Sep 2023 16:48:39 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
set-cookie: guest_id=v1%3A163276131959737591; Max-Age=63072000; Expires=Wed, 27 Sep 2023 16:48:39 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
content-type: application/json; charset=utf-8
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
last-modified: Mon, 27 Sep 2021 16:48:39 GMT
x-transaction: a9299cfd44b91140
content-length: 87
x-frame-options: SAMEORIGIN
content-encoding: gzip
x-xss-protection: 0
content-disposition: attachment; filename=json.json
x-content-type-options: nosniff
x-twitter-response-tags: BouncerCompliant
strict-transport-security: max-age=631138519
x-connection-hash: ac6d9113c7a0cb24e742c548783b3c1a1b6d39c1769cbaade1c17a1920912ffb

{"errors":[{"code":215,"message":"Bad Authentication data."}]}
            [headers] => Array
                (
                    [HTTP/2 400] => 
                    [date] => Mon, 27 Sep 2021 16:48:39 GMT
                    [pragma] => no-cache
                    [server] => tsa_f
                    [status] => 400 Bad Request
                    [expires] => Tue, 31 Mar 1981 05:00:00 GMT
                    [set-cookie] => guest_id=v1%3A163276131959737591; Max-Age=63072000; Expires=Wed, 27 Sep 2023 16:48:39 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
                    [content-type] => application/json; charset=utf-8
                    [cache-control] => no-cache, no-store, must-revalidate, pre-check=0, post-check=0
                    [last-modified] => Mon, 27 Sep 2021 16:48:39 GMT
                    [x-transaction] => a9299cfd44b91140
                    [content-length] => 87
                    [x-frame-options] => SAMEORIGIN
                    [content-encoding] => gzip
                    [x-xss-protection] => 0
                    [content-disposition] => attachment; filename=json.json
                    [x-content-type-options] => nosniff
                    [x-twitter-response-tags] => BouncerCompliant
                    [strict-transport-security] => max-age=631138519
                    [x-connection-hash] => ac6d9113c7a0cb24e742c548783b3c1a1b6d39c1769cbaade1c17a1920912ffb
                    [] => 
                )

            [code] => 400
            [response] => {"errors":[{"code":215,"message":"Bad Authentication data."}]}
            [info] => Array
                (
                    [url] => https://api.twitter.com/oauth/request_token
                    [content_type] => application/json; charset=utf-8
                    [http_code] => 400
                    [header_size] => 1035
                    [request_size] => 461
                    [filetime] => -1
                    [ssl_verify_result] => 0
                    [redirect_count] => 0
                    [total_time] => 0.312787
                    [namelookup_time] => 0.029987
                    [connect_time] => 0.061473
                    [pretransfer_time] => 0.118163
                    [size_upload] => 0
                    [size_download] => 87
                    [speed_download] => 278
                    [speed_upload] => 0
                    [download_content_length] => 87
                    [upload_content_length] => -1
                    [starttransfer_time] => 0.312619
                    [redirect_time] => 0
                    [redirect_url] => 
                    [primary_ip] => 104.244.42.194
                    [certinfo] => Array
                        (
                        )

                    [primary_port] => 443
                    [local_ip] => 94.46.176.83
                    [local_port] => 56920
                    [request_header] => GET /oauth/request_token HTTP/2
Host: api.twitter.com
user-agent: tmhOAuth 0.7.2+SSL - //github.com/themattharris/tmhOAuth
accept: */*
accept-encoding: deflate, gzip
authorization: OAuth oauth_callback="https%3A%2F%2Fnrb.pt%2Fmy-account%2F", oauth_consumer_key="", oauth_nonce="999155b360e51fc8cb2a3c83a32bc162", oauth_signature="bni0ayUn%2BF%2BUCrqxACEVL38xQiI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1632761319", oauth_version="1.0"


                )

            [error] => 
            [errno] => 0
        )

    [params] => Array
        (
        )

    [headers] => Array
        (
            [Authorization] => OAuth oauth_callback="https%3A%2F%2Fnrb.pt%2Fmy-account%2F", oauth_consumer_key="", oauth_nonce="999155b360e51fc8cb2a3c83a32bc162", oauth_signature="bni0ayUn%2BF%2BUCrqxACEVL38xQiI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1632761319", oauth_version="1.0"
        )

    [auto_fixed_time] => 
    [buffer] => 
    [config] => Array
        (
            [user_agent] => tmhOAuth 0.7.2+SSL - //github.com/themattharris/tmhOAuth
            [timezone] => UTC
            [use_ssl] => 1
            [host] => api.twitter.com
            [consumer_key] => 
            [consumer_secret] => 
            [user_token] => 
            [user_secret] => 
            [force_nonce] => 
            [nonce] => 999155b360e51fc8cb2a3c83a32bc162
            [force_timestamp] => 
            [timestamp] => 1632761319
            [oauth_version] => 1.0
            [oauth_signature_method] => HMAC-SHA1
            [curl_connecttimeout] => 30
            [curl_timeout] => 10
            [curl_ssl_verifyhost] => 2
            [curl_ssl_verifypeer] => 1
            [curl_cainfo] => /home2/nrb/public_html/wp-content/plugins/RegistrationFields/tmhOAuth/cacert.pem
            [curl_capath] => /home2/nrb/public_html/wp-content/plugins/RegistrationFields/tmhOAuth
            [curl_followlocation] => 
            [curl_proxy] => 
            [curl_proxyuserpwd] => 
            [curl_encoding] => 
            [is_streaming] => 
            [streaming_eol] => 

            [streaming_metrics_interval] => 60
            [as_header] => 1
            [debug] => 
            [token] => 
            [secret] => 
            [multipart] => 
        )

    [method] => GET
    [url] => https://api.twitter.com/oauth/request_token
    [signing_params] => oauth_callback=https%3A%2F%2Fnrb.pt%2Fmy-account%2F&oauth_consumer_key=&oauth_nonce=999155b360e51fc8cb2a3c83a32bc162&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1632761319&oauth_version=1.0
    [auth_params] => Array
        (
            [oauth_callback] => https%3A%2F%2Fnrb.pt%2Fmy-account%2F
            [oauth_consumer_key] => 
            [oauth_nonce] => 999155b360e51fc8cb2a3c83a32bc162
            [oauth_signature] => bni0ayUn%2BF%2BUCrqxACEVL38xQiI%3D
            [oauth_signature_method] => HMAC-SHA1
            [oauth_timestamp] => 1632761319
            [oauth_version] => 1.0
        )

    [request_params] => Array
        (
        )

    [base_string] => GET&https%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token&oauth_callback%3Dhttps%253A%252F%252Fnrb.pt%252Fmy-account%252F%26oauth_consumer_key%3D%26oauth_nonce%3D999155b360e51fc8cb2a3c83a32bc162%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1632761319%26oauth_version%3D1.0
    [signing_key] => &
    [auth_header] => OAuth oauth_callback="https%3A%2F%2Fnrb.pt%2Fmy-account%2F", oauth_consumer_key="", oauth_nonce="999155b360e51fc8cb2a3c83a32bc162", oauth_signature="bni0ayUn%2BF%2BUCrqxACEVL38xQiI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1632761319", oauth_version="1.0"
)
My Account – NRB

My Account