python - twitter request limit -


Regarding the Twitter API request limit, how does one count as a request?

I'm using Python-Twitter, so if I have

  client = Twitter API (user name = 'ACC', password = 'PW') self.client.GetFriends (Results [0])  

Does it count as 1 request? Or the number of friends I have? I asked because I have the following code: For the user in friends

  name: user.GetScreenName () print 'username' is + try the name: messages = self.client GetUserTimeline (for message in user message: print 'message:' + message.getText ()  

and I already got a bad request error code without a single request message. / P>

This is 1 request for that request. Representing a json file will be returned.

Apart from this, the API call also requests a request, but it is not counted for the goods of a limit.

< P> You can also read about it in

.


Comments