hoafer / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need means to determine if YT account "linked"

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Make a new gmail account
2. using  GTMOAuth2ViewControllerTouch initWithScope:kGTLAuthScopeYouTube log 
the user in
3. need a way to determine if logged in YouTube account is "linked" (which I 
think is just another way of saying YT channel has been setup for the gmail 
account).

What is the expected output? What do you see instead?
Ideally when a user logs into a YT account they haven't set up yet, the login 
screen would take them to this page:
https://m.youtube.com/create_channel?chromeless=1&next=/channel_creation_done

Alternately we'd like a sure-fire way to determine if this needs to be done. I 
had been getting the channel list for the user and if the channel title was 
nil/empty using that as the indicator. But a couple weeks ago it changed to not 
returning an error. Is that sufficient evidence for determining "linked" 
status?  

What version of the product are you using? On what operating system?
Most recent GTL on iOS


Original issue reported on code.google.com by jhalst...@gmail.com on 2 Jul 2013 at 4:11

The second to last sentences in expected output should be: "But a couple weeks 
ago it changed, and now returns an error"

Original comment by jhalst...@gmail.com on 2 Jul 2013 at 4:13

This tracker is for issues specific to the Objective-C client library.

Please use the YouTube API support resources for questions about that API.

https://developers.google.com/youtube/

Original comment by grobb...@google.com on 2 Jul 2013 at 6:19

  • Changed state: Invalid