I have a few questions related to the topic.
- The Docs says that the limits are: 1k/user, 15k/app. So when my app sends a message using users token, does the request counts to both the 1k and 15k limits? Or just to 1k?
- Does the request counts for any rate limit when the target user is not accepting DMs (has it turned off in his settings)?
- How can I see the rate limit? I’m using tweepy like this: rate_limits = client.rate_limit_status(), but in the response there’s no “direct_messages/events/new” limits info.
I’ve written a related answer elsewhere, so I’ll point you there to avoid rewriting it all…
The app-level limit would apply to other Direct Message features outside of posting (I think).
If a user is not accepting Direct Messages then you will not be able to send (there would be an error), so this does not count into the user’s use of up to 1000 messages per day.
There’s no way to see the usage limit for posting Tweets or Direct Messages on a per-user basis. It’s a complicated issue because these limits apply to the user, and the user could post via multiple apps. Unfortunately these values are not currently provided via the API, you need to keep track of what you know about a user’s usage when posting to the API.
1 Like