bear / python-twitter

A Python wrapper around the Twitter API.
Apache License 2.0
3.41k stars 955 forks source link

Is there a way to get the total number of accounts I have blocked? #679

Open richstokes opened 3 years ago

richstokes commented 3 years ago

I tried looking at GetBlocksIDsPaged, but it doesn't return the total number of pages, so there is no way to tell how many users in total are blocked?

Just calling len(api.GetBlocks()) doesn't work as I have too many users blocked to get back in one request, so I hit the Twitter rate limit.

gas-light commented 3 years ago

Hi, have you ever encountered the function--source_page of selenium has been blocked by twitter, I could never get any effective source code from twitter any more by this function.