sync_x_list_members

Documentation for eth_defi.feed.twitter_api.sync_x_list_members function.

sync_x_list_members(list_id, twitter_handles, consumer_key, consumer_secret, access_token, access_token_secret, user_cache, bearer_token, db, *, add_delay_seconds=1.0, rate_limit_sleep_max_seconds=1200.0)

Sync X list membership with the provided Twitter handles.

Only runs when the set of handles has changed (hash-based detection using feed_sync_state table). Returns the number of members added.

Requires full OAuth 1.0a credentials for list write operations.

Parameters
Return type

int