You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use this tool to bulk block some spam users, however, it does not have a "block" action so i have to pull cmdline.py down, modify and replace it to add this action.
Can cmdline add such ability: when invoke as twitter blocks create screen_name=xxxxx, it will perform blocks/create api call with param screen_name=xxxx ?
The text was updated successfully, but these errors were encountered:
Hello,
The command line tools of this project are not really maintained, only the python library part is.
But what you want to do would be quite easy to do with a simple script such as something like this:
from twitter import Twitter, OAuth
t = Twitter(auth=OAuth(token, token_secret, consumer_key, consumer_secret))
t.blocks.create(screen_name="xxxxxx")
I want to use this tool to bulk block some spam users, however, it does not have a "block" action so i have to pull cmdline.py down, modify and replace it to add this action.
Can cmdline add such ability: when invoke as
twitter blocks create screen_name=xxxxx
, it will perform blocks/create api call with param screen_name=xxxx ?The text was updated successfully, but these errors were encountered: