Has anyone had success using the YouTube Javascript API to rate videos?

31 views
Skip to first unread message

Darryl Dalton

unread,
Aug 5, 2016, 2:57:13 PM8/5/16
to Google API JavaScript Client
Hello All,

I will be embedding a YouTube video on a web page and creating my own Thumb Up an Thumb Down buttons to mimic those on YouTube. I will be calling the youtube.videos.rate and youtube.videos.getRating methods to accomplish this. My initial tests have worked for the most part, or so I thought until I went to check the ratings for the video I was testing on YouTube and found the ratings did not change for videos I don't own. I could rate my own video (via the API) and YouTube would reflect the changes. However, rating a video I don't own (via the API) are not reflected in YouTube.

You can test this using the Try it! link on the YouTube Data API Vides:rate page.

Steps to recreate the issue:
2 Click the Try it! link found at the bottom of the right side navigation aside
3 Enter the video id, rating (like, dislike, none) and click the Authorize and Execute button
4 Go to the video's YouTube page and see if the rating you just made is reflected

tuber...@gmail.com

unread,
Aug 14, 2016, 5:01:31 AM8/14/16
to Google API JavaScript Client
Start Your Own and fully Automated Video site
Contact :- 9579304042

*Site Features*
*Cypher download formats (Download All Videos)
*Clean and Responsive Design
*AdBlock detection (exclusive)
*Total Downloads (exclusive)
*Total Search (exclusive)
*Built on Bootstrap 4.0
*Fully decoded script
*No Database Needed
*Unlimited Categories
*Unlimited Channels
*LazyLoad For Image to Speed the Page Loading.
*Full YouTube Support (Search Videos, Channels, Users Art, Related Videos)
*SEO Optimized
*URL - As Per google webmaster guidelines
*Description - As Per google webmaster guidelines
*Mobile Optimized (exclusive)
*Auto Sitemap Generator (Daily / Weekly / Monthly)
*Easy Setup
*Block Url for DMCA Content
*Customizable
*Secure code protected against SQL Injection
*Fast Browsing 
*Translatable language easily.
*Built-in contact us page.
*Built-in advertisements module to manage ad spaces (Text , Banners or Adsense Code)
*Share Buttons users can share video to many social networks.
*Custom 404 page
*Automatic Search suggestion (Optional)
*Use On Unlimited Domains
*Random API keys (Optional)
*1 year Free Support
*Thin content protection (Optional - if TURN ON Some function disabled)
Contact:- 9579304042 / fulldj...@gmail.com

// For more PHP scripts visit - www.mp3jet.net //
Reply all
Reply to author
Forward
0 new messages