Twitter API Chatbot Create a new welcome message

oauth
api

#1

Hello All,

I am referring to Twitter API > https://developer.twitter.com/en/docs/direct-messages/welcome-messages/api-reference/new-welcome-message documentation. I am passing data as below format-

Authorization OAuth1.0 with credential keys:

Header as – Content-Type:application/json API return response as >>

{
“errors”: [
{
“code”: 32,
“message”: “Could not authenticate you.”
}
]
}
What could be the issue?


#4

Hello @harsh14225527 - Have you tried allowing Postman to auto-generate the timestamp and nonce? Also, have you tried using other tools such as Insomnia or Twurl?


#5

Hi @LeBraat - Yes, I tried allowing Postman to auto-generate the timestamp and nonce.
I am trying to implement in PHP, Twurl is in Ruby.


#8

Are you able to hit any of the other Twitter APIs using Postman?