Saturday, April 21, 2012

[YouTube-API] Re: Problem to access my google account with youtube API on a subdomain

Hello Jeffrey,

I use the Auth2 system and it works fine.

Thanks to cared about my problem.

Bye.

On 17 avr, 23:29, Jeffrey Posnick <je...@google.com> wrote:
> Hello Ludo,
>
>  I believe you need to register each subdomain separately.
>
> Cheers,
> -Jeff Posnick, YouTube API Team
> groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> @YouTubeDev
>
> On Apr 12, 10:49 am, Ludo <ludovic....@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hello,
>
> > I have an issue with the youtube API.
>
> > Actually, it works fine on a server (http://mysite.com), but i would
> > like to create another API (or use the same if it's possible) on
> > another server (with the url:http://dev.mysite.com, so it's juste a
> > subdomain).
>
> > The probleme is, it doesn't works on the second server, (i use the php
> > Zend library for the both).
>
> > When i click on the link witch should give me back a user token after
> > the user accept the autorization, i have an error message, something
> > like "we can't access your googleaccount account because another
> > website tried to access it and sent a wrong request... AuthSub target
> > path prefix does not match the provided "next" URL. " (but it still
> > work on the first server (http://mysite.com)).
>
> > I registered the good redirect URI in my client and in the code, i do
> > not understand...
>
> > Do you know how to resolve this problem ?
>
> > When you want to create an application on many subdomains, do you have
> > to create one product and one client_id by subdomain or have we to
> > create one product and one client_id for each subdomain ?
>
> > Thanks for help !

--
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