Skip to content

Conversation

CharleoY
Copy link

No description provided.

@igorbrigadir
Copy link
Contributor

Thanks! I haven't had a chance to have a full look through this yet, but one thing I was thinking of was maybe renaming this to "favourites" to stay aligned with the API naming. I'm aware Twitter renamed favourites to likes ages ago, but for twarc, for v1.1 I think it makes more sense to call them "favourites" but in v2, "likes"

self, user_id=None, screen_name=None, max_id=None, since_id=None, max_pages=None
):
"""
Returns a collection of the most recent tweets posted
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This description should be for favourites, not tweets posted

id_type = "screen_name" if screen_name else "user_id"
log.info("starting user timeline for user %s", id)

if screen_name or user_id:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused about the logic here - I'm not sure what this if statement is for

@igorbrigadir igorbrigadir marked this pull request as draft October 1, 2021 13:18
@igorbrigadir igorbrigadir changed the title Add feature for Likes entry point Add v1.1 feature for favourites entry point Mar 20, 2022
@igorbrigadir igorbrigadir added the good first issue Good for newcomers label Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants