YouTube API v3

50 views
Skip to first unread message

RIKSOF SQA

unread,
Feb 11, 2016, 9:22:43 AM2/11/16
to GTM OAuth 2 Discussion
I am using BAHYouTubeOAuth in my iOS app. My code is:

[youTubeOAuth authenticateWithYouTubeUsingYouTubeClientID:Client_ID
                                          youTubeClientSecret:Client_Secret
                                                 responseType:@"code"
                                                        scope:@"https://gdata.youtube.com"
                                                        state:@""
                                               appURLCallBack:@"urn:ietf:wg:oauth:2.0:oob:auto"
                                                   accessType:@"online"
                                               viewController:self

              :^(BOOL success, NSString *youTubeToken, NSString *youTubeRefreshToken) {

                                                  if (success) {

                    //Do whatever you need with the token

                  }

                }];

This code does not hit success and shows a message "Authorization has been granted successfully. Please switch to your application."
What is wrong with it?

Thanks in advanced.

Thomas Van Lenten

unread,
Feb 11, 2016, 9:28:56 AM2/11/16
to GTM OAuth 2 Discussion
This group is for https://github.com/google/gtm-oauth2, looks like BAHYouTubeOAuth is some other project, so you likely want to try any support/discussion paths they offer.

TVL
Reply all
Reply to author
Forward
0 new messages