Skip to content

Commit 9c8dc21

Browse files
committed
Just a note on an issue I found for the Python Twitter plugin
1 parent 76fd70c commit 9c8dc21

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/list_mngmnt.py

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ def query_lists():
7272

7373
# The list slug is the list word in the list URL (e.g.: the slug for the list https://twitter.com/matinassi/lists/mng-main is mng-main and the list owner is matinassi
7474
def get_list_members(slug,user):
75+
76+
# NOTE: had to change a line inside auth.api.GetListMembers method so to allow to retrieve more than 100 users (default value)
77+
# I guess the issue is that the Twitter API changed and now the way to tell if we have reached the bottom of the list is just check for next_cursor = 0: https://developer.twitter.com/en/docs/basics/cursoring
78+
# So I commented the following code, as the plugin was already checking for next_cursor == previous_cursor: if next_cursor == 0: #or next_cursor == previous_cursor:
79+
# Filed a new issue for the Python Twitter Plugin, check: https://github.com/bear/python-twitter/issues/661
80+
7581
list_members = auth.api.GetListMembers(None,slug,user,None,False,False)
7682

7783
return list_members

0 commit comments

Comments
 (0)