I have created an app at https://apps.twitter.com/
I have enabled Read and Write permissions and retrieved my consumer key and secret.
I have tried two forms of authentication: both the Application-Only Authentication where I have successfully converted my consumer key/secret to an access token and 3-Legged OAuth where I have generated an access token and secret for my user account (which matched that listed on the app page).
When I try to make a request, either via Postman or my Node application with either of the above authentication methods, I always get an HTTP401 as a response. I am trying to hit something like:
Example Authorization value for 3-Legged:
OAuth oauth_consumer_key="<APP CONSUMER KEY>",oauth_token="<USER ACCESS TOKEN>",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1495032623",oauth_nonce="DTyFC7",oauth_version="1.0",oauth_signature="<GENERATED SIGNATURE>"
Example Authorization value for Application-only:
Is there something I’m missing to get this to work?