How to get an OAuth Request Token for Google using java

后端 未结 2 702
遇见更好的自我
遇见更好的自我 2021-01-03 13:19

I\'m struggling to fetch a request token from google when trying to access the APIs. I\'m receiving the standard 400 response. The request i\'m sending is almost identical t

2条回答
  •  既然无缘
    2021-01-03 13:48

    It should be m.init(new SecretKeySpec("anonymous&".getBytes(), "HmacSHA1")); When the oauth_token_secret is empty, you still need the "&" joining the two secrets to make the complete signature key.

提交回复
热议问题