java - How do I use Youtube API to get the number of likes and dislikes of a video? -


i'm using eclipse java , have downloaded google api java client jar files , obtained api auth. keys.

  • how use amount of likes, view count , dislikes of video?
  • is possible country wise selection?

a sample code example appreciated.

use following url of googleapi, can particular video view count , likes, dislikes.

https://www.googleapis.com/youtube/v3/videos?part=contentdetails,statistics&id=%@&key=%@",videoid ,youtube_api_key]; 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -