Like a video in Youtube without API key? - youtube

I have a app with button as like-button of youtube and videoId of a video.
Before I get sessionid, cookies from webviewclient with a google account.
How to like that video then video appear in my likelist video in youtube without Youtube API?
I am grateful for any help.

the Video.rate method will allow you to submit a like or dislike on a video though the YouTube API.
This method does not require an API key it does though requier authorization
You Will need to use Oauth2 to authorize the user to your application who will be making the link
Using one of the following scopes.

Related

Programmatically get Current Playing YouTube Video

I want to authenticate user Google account and fetch currently playing video ID, title or URL. I looked into YouTube Data API and wasn't able to find any relevant endpoint. Is it possible to do the same?
Inspiration: https://developer.spotify.com/documentation/web-api/reference/player/get-the-users-currently-playing-track/

Youtube Api's Private Videos

I have a scenario that, i have channel on youtube and I post a video as private. I have set permissions and invite to specific google email can see that video. how i can get that video using youtube apis by passing invited email.
I need process how I use to take a user email and private youtube video as inputs, and authorize just the specific user to view that video.
I want api example like below
https://www.googleapis.com/youtube/v3/playlists?key=googleKEY&maxResults=50&channelId=channelID&part=snippet&invited_email=sample#gmail.com
Thanks

Can we get user's YouTube data (history, recommended videos, ...) through YouTube API?

I'm new to YouTube API. Is it possible to get user's data if he is authenticated into my application using his Google account.
The YouTube Api v2 used to have a feature like this if i remember correctly. Unforutnatly that API has long since been shut down.
Activites.list which just gives a list of video's recommend that the user watch. There is nothing for History of what videos the user has watched or liked.
Authenticated:
If the user is authenticated you can use the home parameter which is used to show the videos that would be recommend to said user by YouTube
Set this parameter's value to true to retrieve the activity feed that displays on the YouTube home page for the currently authenticated user.

Does Youtube Data API Sanitize Results

I used YouTube Data API a bit. My page does display users input from Google's servers eg video title. Would you be able to get an XSS by putting to code on Youtube and calling in back on my domain.
YouTube does not allow tags to be created so XSS over an API is no worry.
Sorry don't uses YouTube upload that much

How to Upload videos to my channel on you tube from android?

Want to upload videos to my channel on youtube directly from android and iOS using youtube API v3.
I know "client login" of Youtube API v2 is now deprecated and cannot use any more now, but is there any method in V3 API that we can use now to achieve the video upload to my channel on youtube without user interaction or without user prompt to ask username or password?
Letting other people upload random videos to your channel is not recommended. That's why OAuth2 only lets them to upload to their own channel. You can use YouTube Direct Lite for people to upload to their channel, but you can still collect those videos into your playlist.
https://code.google.com/p/youtube-direct-lite/
https://github.com/youtube/yt-direct-lite-iOS
https://github.com/youtube/yt-direct-lite-android

Resources