Open akashnimare opened 6 years ago
Wait a minute after looking into this, i think doing a post request usign fetch
with a comment at this endpoint documented here: https://developer.github.com/v3/issues/comments/#create-a-comment should work.
Yeah, with a token we just need to post a request to the comment endpoint but for the token, we'll have to do the GitHub oAuth.
About the token thing, yeah oauth is needed, though i think it not required here since, i think (may or may not work) since the user is signed in, we don't need the token.
I think it would be great if the user can comment on any issue while browsing the same. To do this we need to add the GitHub OAuth.