Wednesday, January 18, 2012

[YouTube-API] Re: OAuth session is expired after 2 hrs

Hello Deepa,

I'm honestly not sure. At what point are you exchanging the request
token for an access token—immediately, or after two hours? (I'm
talking about step 11 in this diagram:
http://code.google.com/apis/youtube/2.0/developers_guide_protocol_oauth.html#youtubeDataAPIOAuthProcessFlow)

Also, OAuth 2 is well-supported in the Objective-C client library,
and you might find using that to be a better experience (and one that
you can get more support for, since there's a whole Google Group
dedicated to OAuth 2).

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


On Jan 16, 1:13 am, deepa shenoy <de...@robosoftin.com> wrote:
> Is this because of the following reason:
>
> After login if user has not used that session for 2 hrs Youtube
> assumes it as inactive and expires the session?
>
> Regards,
> Deepa
>
> On Jan 16, 10:31 am, deepa shenoy <de...@robosoftin.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I am using GData framework withOAuth1.0 for login and uploading
> > videos to Youtube in my iPhone application. I am getting thesession
> > expire error for the following sequence:
>
> > 1. Login to Youtube usingOAuth1.0. Do not upload the video now.2.After2hrsif I try to upload the video I am getting thesession
> > expire error
>
> > Note: I have registered my application. But, I am using only developer
> > ID; Consumer Key and Secret information are not getting used since
> > Consumer Key appears in authorization page.
>
> > What is the problem here? Could someone help me please…
>
> > Thanks in advance.
>
> > Regards,
> > Deepa

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