GET Access Token for Installed Applications for YouTube API
<p>I want to get YouTube Videos in Android VideoView for my application.
I am going through the Google's YouTube API. I have generated the Client ID,Client Secret,redirect-url and code by the help of this API Documentation.
<a href="https://developers.google.com/youtube/2.0/developers_guide_protocol#OAuth2_Installed_Applications_Flow" rel="nofollow">https://developers.google.com/youtube/2.0/developers_guide_protocol#OAuth2_Installed_Applications_Flow</a></p>

<p>Next step is to get Access Token for Installed Applications, I am doing the same as the above Doc is explaining but getting this error.</p>

<p>java.io.FileNotFoundException: <a href="https://accounts.google.com/o/oauth2/token?code=4/sfsekiMy-EWE_7der69fy3wsdfdsseclient_id=412600012302.apps.googleusercontent.com&amp;client_secret=0P7H4yqRZY2jmpluiyswqnbz&amp;redirect_uri=http://localhost/oauth2callback&amp;grant_type=authorization_code" rel="nofollow">https://accounts.google.com/o/oauth2/token?code=4/sfsekiMy-EWE_7der69fy3wsdfdsseclient_id=412600012302.apps.googleusercontent.com&amp;client_secret=0P7H4yqRZY2jmpluiyswqnbz&amp;redirect_uri=http://localhost/oauth2callback&amp;grant_type=authorization_code</a></p>

<p>Any help is highly appreciated OR you can suggest some way to access YouTube video in my Android App using only MediaPlayer and VideoView.</p>

<p>Thanks in advance.</p>
