POST&
https%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token&
oauth_callback%3Dhttps%25253A%25252F%25252Fwww.alslug.dk%25252Fcallbacks%25252Flogin-with-twitter%26
oauth_consumer_key%3DdBj8WIVkJ9u7hMLZmdPBud4Qn%26
oauth_nonce%3Dbed33c9a4179e7559ea751d5ab273715%26
oauth_signature_method%3DHMAC-SHA1%26
oauth_timestamp%3D1603798918%26
oauth_version%3D1.0

POST&
https%3A%2F%2Fapi.twitter.com%2F1.1%2Fstatuses%2Fupdate.json&
include_entities%3Dtrue%26
oauth_consumer_key%3Dxvz1evFS4wEEPTGEFPHBog%26
oauth_nonce%3DkYjzVBB8Y0ZFabxSWbWovY3uYSQ2pTgmZeNu2VS4cg%26
oauth_signature_method%3DHMAC-SHA1%26
oauth_timestamp%3D1318622958%26
oauth_token%3D370773112-GmHxMAgYyLbNEtIKZeRNFsMKPR9EyMZeS9weJAEb%26
oauth_version%3D1.0%26
status%3DHello%2520Ladies%2520%252B%2520Gentlemen%252C%2520a%2520signed%2520OAuth%2520request%2521




oauth:
Array
(
    [oauth_callback] => https%3A%2F%2Fwww.alslug.dk%2Fcallbacks%2Flogin-with-twitter
    [oauth_consumer_key] => dBj8WIVkJ9u7hMLZmdPBud4Qn
    [oauth_nonce] => bed33c9a4179e7559ea751d5ab273715
    [oauth_timestamp] => 1603798918
    [oauth_signature_method] => HMAC-SHA1
    [oauth_version] => 1.0
)

oauth_vars:
Array
(
    [oauth_callback] => oauth_callback=https%253A%252F%252Fwww.alslug.dk%252Fcallbacks%252Flogin-with-twitter
    [oauth_consumer_key] => oauth_consumer_key=dBj8WIVkJ9u7hMLZmdPBud4Qn
    [oauth_nonce] => oauth_nonce=bed33c9a4179e7559ea751d5ab273715
    [oauth_timestamp] => oauth_timestamp=1603798918
    [oauth_signature_method] => oauth_signature_method=HMAC-SHA1
    [oauth_version] => oauth_version=1.0
    [oauth_signature] => oauth_signature=ygZZRMqwsjn+TvWZLWn0Ucet/pQ=
)



data:
Array
(
)

data_vars:
Array
(
)



vars_to_sign:
Array
(
    [oauth_callback] => oauth_callback=https%253A%252F%252Fwww.alslug.dk%252Fcallbacks%252Flogin-with-twitter
    [oauth_consumer_key] => oauth_consumer_key=dBj8WIVkJ9u7hMLZmdPBud4Qn
    [oauth_nonce] => oauth_nonce=bed33c9a4179e7559ea751d5ab273715
    [oauth_signature_method] => oauth_signature_method=HMAC-SHA1
    [oauth_timestamp] => oauth_timestamp=1603798918
    [oauth_version] => oauth_version=1.0
)

string_to_sign:
POST&https%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token&oauth_callback%3Dhttps%25253A%25252F%25252Fwww.alslug.dk%25252Fcallbacks%25252Flogin-with-twitter%26oauth_consumer_key%3DdBj8WIVkJ9u7hMLZmdPBud4Qn%26oauth_nonce%3Dbed33c9a4179e7559ea751d5ab273715%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1603798918%26oauth_version%3D1.0

string_to_sign:
Array
(
    [0] => POST
    [1] => https%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token
    [2] => Array
        (
            [0] => oauth_callback%3Dhttps%25253A%25252F%25252Fwww.alslug.dk%25252Fcallbacks%25252Flogin-with-twitter
            [1] => oauth_consumer_key%3DdBj8WIVkJ9u7hMLZmdPBud4Qn
            [2] => oauth_nonce%3Dbed33c9a4179e7559ea751d5ab273715
            [3] => oauth_signature_method%3DHMAC-SHA1
            [4] => oauth_timestamp%3D1603798918
            [5] => oauth_version%3D1.0
        )

)



curl-command (1):
curl -X POST --silent https://api.twitter.com/oauth/request_token -H Authorization: Oauth oauth_callback=https%253A%252F%252Fwww.alslug.dk%252Fcallbacks%252Flogin-with-twitter, oauth_consumer_key=dBj8WIVkJ9u7hMLZmdPBud4Qn, oauth_nonce=bed33c9a4179e7559ea751d5ab273715, oauth_timestamp=1603798918, oauth_signature_method=HMAC-SHA1, oauth_version=1.0, oauth_signature=ygZZRMqwsjn+TvWZLWn0Ucet/pQ=

curl-command (2):
Array
(
    [0] => curl
    [1] => -X POST
    [2] => --silent
    [3] => https://api.twitter.com/oauth/request_token
    [4] => Array
        (
            [0] => -H Authorization: Oauth oauth_callback=https%253A%252F%252Fwww.alslug.dk%252Fcallbacks%252Flogin-with-twitter
            [1] => oauth_consumer_key=dBj8WIVkJ9u7hMLZmdPBud4Qn
            [2] => oauth_nonce=bed33c9a4179e7559ea751d5ab273715
            [3] => oauth_timestamp=1603798918
            [4] => oauth_signature_method=HMAC-SHA1
            [5] => oauth_version=1.0
            [6] => oauth_signature=ygZZRMqwsjn+TvWZLWn0Ucet/pQ=
        )

)



result:
{"errors":[{"code":215,"message":"Bad Authentication data."}]}