Sometimes the timestamp query string for a clip is wrong. For example, CourageousHappyGazelleKevinTurtle . In the API (JSON at end of the post) the vod url for the clip is https://www.twitch.tv/videos/130198111?t=4h22m1s
. That url takes you to the last 5 seconds of the clip in the original vod.
The clip page shows a different url. The “Watch Full Video” button url is https://www.twitch.tv/videos/130198111?t=4h21m36s&tt_medium=clips_web&tt_content=full_vod_button
which is the correct timestamp.
###Watch Full Video button from clip’s page (correct)
###Clips API JSON Response (incorrect)
{
“id”: “CourageousHappyGazelleKevinTurtle”,
“tracking_id”: “60182553”,
“url”: “Twitch”,
“embed_url”: “Twitch Error”,
“embed_html”: “”,
“broadcaster”: {
“id”: “40980097”,
“name”: “faux”,
“display_name”: “Faux”,
“channel_url”: “Twitch”,
“logo”: “https://static-cdn.jtvnw.net/jtv_user_pictures/faux-profile_image-3f9cf32ba99f2cf7-300x300.png”
},
“curator”: {
“id”: “85684543”,
“name”: “commack”,
“display_name”: “Commack”,
“channel_url”: “Twitch”,
“logo”: “https://static-cdn.jtvnw.net/jtv_user_pictures/commack-profile_image-3f9b755ad6d60728-300x300.png”
},
“vod”: {
“id”: “130198111”,
“url”: “Twitch”
},
“game”: “RuneScape”,
“language”: “en”,
“title”: “Entrana is MINE | Faux Merch: https://www.teepublic.com/user/faux_freedom”,
“views”: 148,
“duration”: 29.999333,
“created_at”: “2017-03-21T18:04:44Z”,
“thumbnails”: {
“medium”: “https://clips-media-assets.twitch.tv/24846582544-offset-15720-preview-480x272.jpg”,
“small”: “https://clips-media-assets.twitch.tv/24846582544-offset-15720-preview-260x147.jpg”,
“tiny”: “https://clips-media-assets.twitch.tv/24846582544-offset-15720-preview-86x45.jpg”
}
}