简体   繁体   中英

Making authenticated calls to Twitter API to avoid rate limiting

I'm using Twitter API to display latest tweets from 4 different users on my page. Looks like after certain numbers of calls I get a "NetworkError: 400 Bad Request" error and tweets won't display.

After reading up on the topic online, I read that one way to avoid this limit is to make authenticated calls to the API. Anybody know how this is possible? I'm looking for a Javascript-based solution.

Are you using OAuth? Refer to "Getting started with OAuth 2.0" by Ryan Boyd.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM