Node.Js Twitter Direct Message [{"code":32,"message":"Could not authenticate you."}]

时间:2018-12-03 13:11:20

标签: node.js twitter

i'm using Twitter (from npm) with Node.Js and i try to send Direct Message.

Here it is my code :

client.post("direct_messages/events/new", {
    "type": "message_create", "message_create": {
        "target": {
            "recipient_id": ("XXX"), "message_create": { "message_data": ("plop") }
        }
    }
})

0 个答案:

没有答案