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

Show Number of Comments for a given post #71

Closed
JacobBennett opened this issue Aug 12, 2015 · 6 comments · Fixed by #178
Closed

Show Number of Comments for a given post #71

JacobBennett opened this issue Aug 12, 2015 · 6 comments · Fixed by #178
Assignees

Comments

@JacobBennett
Copy link
Contributor

image

Medium being the inspiration... would be cool to have a toolbar-ish listing of how many comments and how many stars a gistlog has at the bottom as a reader is scrolling. Could also contain links to share it on twitter, facebook, etc.

Users could also use this toolbar to star the gist directly on github after authenticating.

@mattstauffer
Copy link
Member

That is a cool idea. :)

@milose
Copy link
Contributor

milose commented Dec 2, 2015

GitHub API does not currently provide for stargazers_count like on repositories. But I think it is possible to check if the authenticated user gave a star to a gist and an API call to star / unstar:
https://developer.github.com/v3/gists/#star-a-gist

@rubemlrm
Copy link

rubemlrm commented Oct 4, 2017

Looks that its possible to get the number of comments for given gist( https://developer.github.com/v3/gists/#get-a-single-gist) but for stars we can't get that kind of information :( . I can try add the comments information. And looks that's possible to start a gist from api too.

@ThomasRedstone
Copy link

It looks like this request has been around a good while, and the API still doesn't appear to support getting the star count of a gist.
Perhaps the two parts of this should be split off? With the star count waiting until a future API change makes it possible.

@mattstauffer
Copy link
Member

@ThomasRedstone that's fine; if someone picks up just the comment count that could still be fun. I believe we already have it at the top of the comment section, but it would be fun to also put it in some sort of Medium-like display.

@mattstauffer
Copy link
Member

Current plan:

  • Number of comments
  • Star/unstar for current user

Future plan, making a separate issue:

  • Number of stars

@mattstauffer mattstauffer changed the title Number of Comments and Number of Stars Show Number of Comments for a given post Oct 19, 2020
@faxblaster faxblaster linked a pull request Oct 21, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants