I created a web application which will show all private videos of only one account.
Now I have to authenticate the account to get list videos. I saw 2 ways to authenticate by ClientLogin
and Oauth
. Which ClientLogin
is deprecated and don't know how to use Oauth
to authenticate the default account on server.
I have client_id
and client_secret
for my app.
I try this example but not working and i don't know what in $get['code']
and how can I put username
and password
of this account when using OAuth
not ClientLogin
.