-
Notifications
You must be signed in to change notification settings - Fork 423
Open
Description
Feature Description
Currently, opencli has a twitter like command to like a specific tweet, but there's no command to fetch a user's liked tweets list (similar to bookmarks, timeline, followers, etc.).
Use Case
As a user, I want to retrieve the list of tweets that a specific Twitter user has liked, which is useful for:
- Analyzing user interests and preferences
- Backing up liked content
- Content curation and research
Expected Behavior
opencli twitter likes <username> --limit 20Should return a list of tweets that the specified user has liked, similar to how bookmarks and timeline work.
Technical Details
I've found that Twitter's GraphQL API has a Likes endpoint:
- Query ID:
RozQdCp4CilQzrcuU0NY5w - Endpoint:
/i/api/graphql/{queryId}/Likes - Parameters:
userId,count,cursor(for pagination)
The API structure is similar to the existing bookmarks and timeline commands.
Question
Is there a specific reason why this feature hasn't been implemented yet? Are there any technical limitations or API restrictions I should be aware of?
I'm happy to contribute a PR if this feature would be welcomed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels