println(reqWithJsonObjectReturn(“https://api.twitter.com/1.1/direct_messages/new.json”, “my token”, “token secret”, (“user_id” -> “1341897109”)(“text” -> “hello%2C%20tworld.%20welcome%20to%201.1.”) )
return error : code 32 error_msg : Could not authenticate you
Are you able to make other API calls? What about other POSTs?
Other POSTs can used and I tried add (“Content-Type”, “application / x-www-form-urlencoded;”) with(POST POST direct_messages / new) will not solve
could u pls let me know the exact code for send the message to twitter from my web-site