Create OAuth Signature with HMAC-SHA1 Encryption returns HTTP 401

后端 未结 1 1492
伪装坚强ぢ
伪装坚强ぢ 2020-12-31 08:23

The Question
I need to authenticate to an API which needs OAuth encryption.

I\'m in the right direction but I am sure something is wrong with m

相关标签:
1条回答
  • 2020-12-31 08:53

    It looks like you should sort parameters alphabetically in Header string and within GetSignatureBaseString method as described in this comment and Twitter OAuth documentation

    0 讨论(0)
提交回复
热议问题