Hi everyone, silly question about the Account Activity API: when I consume this endpoint on behalf of multiple users (each of them using oAuth), does it add up the unique subscriptions to my app (and there for my credit card), or use a rate limit per each user?
On the v2 API (e.g. search), I assume I’m consuming the oAuth’d user’s rate limits, not my own. Is this different on the Account Activity API?
Yeah it’s a bit confusing with environments / subscriptions / webhooks etc.
1 webhook is a connection from twitter to your server, and it delivers all messages for all authenticated users. 1 “environment” is 1 webhook. So in paid premium API you get 2 of those, in sandbox you get 1.
1 twitter user authenticated = 1 subscription on the dashboard https://developer.twitter.com/en/account/subscriptions
And it’s the same price no matter how many you’re actually using as far as i know - so you pay $339.00 for up to 25 users in your webhook, even if you only use 2 or 3 subscriptions. You can remove users yourself with just your application token Premium Account Activity API | Docs | Twitter Developer Platform
1 Like
Thanks @IgorBrigadir. I was hoping I’d be able to use the rate limits of the people oAuth’ing instead of my own - but I guess that was wishful thinking 
2 Likes
how do we create multiple subscriptions for multiple users?
You would follow the login with twitter flow to obtain a user’s access token and access token secret, and subscribe them to your webhook using a separate call to POST account_activity/all/your_env_name/subscriptions Premium Account Activity API | Docs | Twitter Developer Platform