Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ways to show if someone is following the user #509

Closed
pfrazee opened this issue Jan 31, 2023 · 1 comment
Closed

Add ways to show if someone is following the user #509

pfrazee opened this issue Jan 31, 2023 · 1 comment
Assignees

Comments

@pfrazee
Copy link
Collaborator

pfrazee commented Jan 31, 2023

Currently there's no efficient way to find out if a user follows you.

Here's what I'd suggest adding:

  • Update actor.getProfile, graph.getFollows, and graph.getFollowers to include a boolean indicating if the actor follows you.
  • Probably do the same with actor.search and actor.getSuggestions
  • Not necessary but might be worth updating graph.getFollows to optionally take a target actor to quickly determine if someone follows a specific actor. Alternatively can add a separate method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants