Wednesday, September 21, 2011

[YouTube-API] Re: Unable to create correct base string for a oAuth request to you tube

Hello Himanshu,

If you have a Google Account linked to a YouTube account then you
should not be getting back NoLinkedYouTubeAccount.

It's possible to be logged into multiple Google Accounts at once in
the same browser. Could you confirm that you're actually trying to use
AuthSub with the correct account? An easy way to do this would be to
log out of all your Google Accounts and then go through the AuthSub
process, supplying the credentials of the linked account when you're
prompted.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Sep 21, 2:14 pm, Himanshu Sharma <techie...@gmail.com> wrote:
> Hello Jeff,
> I have applied Authsub with my application,
> It redirects to the Authentication page which gives a token in the url
> in reply.
> I am using this token to get Upload Token from the URLhttp://gdata.youtube.com/action/GetUploadToken
> array('Authorization: AuthSub token="TOKEN RETURNED FORM
> AUTHORIZATION',
>                      'GData-Version: 2',
>                      'X-GData-Key: key='.$key,
>                      'Content-Type: application/atom+xml;
> charset=UTF-8'
>                 );
> this i pass tohttp://gdata.youtube.com/action/GetUploadTokenbut it
> gives me NoLinkedYouTubeAccount in response.
> I have created my account first on gmail and then linked it to
> YouTube.I also can see YouTube icon in my gmail settings page.
> What is happening here?Please share your ideas.
> Regards
> Himanshu Sharma

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
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