rate limitã¨æ·±ãé¢ä¿ããã2ã¤ã®èªå¯æ¹æ³ããã.
Rate limit
- Per User: user access tokenãã¨ã®ã¬ã¼ãå¶é
- Per Application: "application-only authentication"
ãã®2ã¤ã¯å®å ¨ã«å¥ç©.
This limit is considered completely separately from per-user limits.
GETã®å ´åã(ã¦ã¼ã¶ã¼, app) ã«å¯¾ãã¦rate limitãããã.
ããã¦ã¼ã¶ã¼ãå
¨ã¢ããªã§å¼ã¹ãGETåæ°ãã¿ãããªãã®ã¯ãªã.
POSTã®å ´åã¯ã¢ããªã¾ããã§ã¦ã¼ã¶ã¼åä½.
Rate limiting
Rate limiting — Twitter Developers
Application-only authentication: OAuth2 (bearer token) : ã¢ããªã±ã¼ã·ã§ã³ãAPIãå©ãï¼â ã¦ã¼ã¶ã¼ãã¢ããªãä»ãã¦APIã使ãï¼
Application-only authentication is a form of authentication where an application makes API requests on its own behalf, without the user context.
"user context"
Application-user authentication: OAuth 1a : The user authentication method of authentication allows an authorized app to act on behalf of the user, as the user.
Per Application: "application-only authentication"
OAuth2.0 Client Credentials Grant flowã«ããèªå¯ 1.
OAuth2.0 Clientãã¤ã¾ãã¢ããªãèªèº«ã®credentialsããã£ã¦ããããã®credentialsãaccess tokenã¨åæã«äº¤æãã¦ããã¿ã¤ã.
credentialsã¯Clientãä¿æãã¦ãããã¨ã«ãªãã®ã§ãwebã®Twitter appã§ã¯ä½¿ããªãflow.