twitter-api icon indicating copy to clipboard operation
twitter-api copied to clipboard

Migrate to new Direct Messages endpoint

Open avichalp opened this issue 5 years ago • 0 comments

Getting DMs throws an exception:

(direct-messages :oauth-creds my-creds :params {:count 50})

;; Twitter responded to request with error 34: Sorry, that page does
;; not exist.

I think it is because Twitter has changed the endpoints:

On September 17th, 2018 we retired the legacy Direct Message endpoints. If you had been using those endpoints, please make sure to migrate over to the new Direct Message endpoints or the Account Activity API.

The new endpoints are here in the migration guide.

avichalp avatar Dec 24 '19 20:12 avichalp