Rate limit profile update


#1

Hi guys,
We have an app that updates the profile banner every 3 minutes, but I constantly reach the limit. I’ve consulted the documentation, but all the rate limits refer to the GET methods. I can’t find which is the limit of the POST request that update my profile banner:
https://dev.twitter.com/rest/reference/post/account/update_profile_banner

We use twitter4j to interact with Twitter API, which helps us with the OAuth communications…but it masks part of the response (for example the current rate-limit) and it ends up returning the same error message:

Connection reset
Relevant discussions can be found on the Internet at:
http://www.google.co.jp/search?q=62590fa6 or
http://www.google.co.jp/search?q=09abd561
TwitterException{exceptionCode=[62590fa6-09abd561 8f91a13a-2bced286], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0.6}
at twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:179)
at twitter4j.HttpClientBase.request(HttpClientBase.java:57)
at twitter4j.HttpClientBase.get(HttpClientBase.java:75)
at twitter4j.TwitterImpl.get(TwitterImpl.java:1786)
at twitter4j.TwitterImpl.getHomeTimeline(TwitterImpl.java:118)
at cat.tmb.twitter.background.domain.services.twitter.TwitterClient.updateBackground(TwitterClient.java:51

Can someone told us which is the rate-limit of update_profile_banner?

Thanks in advance!


#2

The rate limits for update / POST actions are actually based on account limits. Some of these are documented e.g. # Tweets or Direct Messages that may be posted per day. Others are not, unfortunately. I’m not sure that updating profile images or banners is expected to be a frequent operation (for one thing, it obviously involves uploading media, which is a more intensive operation than posting a Tweet), so I don’t know whether what you’re trying to achieve is something that we’d prioritise. When you say “constantly reach the limit”, what is the observed limit you’re hitting? I imagine this is not something that would be expected to be called more than maximum of a few times a day.


#3

Hi Andy,
I’m trying to update the banner every 5 minutes, but I could reduce it. We’re trying to reproduce what KLM is doing on its official account showing the expected reply time:

https://twitter.com/klm?lang=es

Greetings.


#4

Ah, thanks for context. That may be related to the new customer service and Direct Message features, and not widely available at this time. I’m not certain at the moment.