Using the Test OAuth function (application parameters), I can create a fully customized curl command for the specified API request:
curl --get 'https://api.twitter.com/1.1/followers/ids.json'
--data 'count=10&cursor=-1&screen_name=microsoft'
--header 'Authorization: OAuth
oauth_consumer_key="123consumer",
oauth_nonce="123nonce",
oauth_signature="123signature%3D",
oauth_signature_method="HMAC-SHA1",
oauth_timestamp="1402309080",
oauth_token="123-token",
oauth_version="1.0"'
--verbose
This is exactly what I would like to do, but with various API requests. But simply exchanging "microsoft" in the above command with "google" will result in an error:
{"errors":[{"message":"Could not authenticate you","code":32}]}
Why is this not possible and how can I make it work?
As far as I understand OAuth, all I need to authorize the request is oauth-key / values, listed in step G of the following diagram:

This is the "official" answer: Request Authorization
source
share