Created
November 14, 2018 19:26
-
-
Save productioncoder/5b5e989f42263a1803a2b95cc919fb47 to your computer and use it in GitHub Desktop.
Youtube in React: creating a comment thread request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function buildCommentThreadRequest(videoId, nextPageToken) { | |
return buildApiRequest('GET', | |
'/youtube/v3/commentThreads', | |
{ | |
part: 'id,snippet', | |
pageToken: nextPageToken, | |
videoId, | |
}, null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment