Wednesday, July 11, 2012

[YouTube-API] Is developer key specific to each user?

Can some one help me..

I am a java developer.. Using YouTube client log in authentication in my app.
I registered as a developer in YouTube, i have client id & developer key. The question is, can i upload videos to different users with the same developer key which i obtained after registration? I tried for it, but getting some error
-----------
com.google.gdata.util.AuthenticationException: Error authenticating (check service name)
-----------

My code is 
YouTubeService service = new YouTubeService(<my_client_id>, <my_developer_key>);
service.setUserCredentials(<user1_username>, <user1_password>); (this statement changes for each user, remaining all are same)
<upload code here>
.
.
.

why am i getting this problem, whats wrong with my code?. please help me

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/22Yzi7V2PHUJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment