2011-12-16 1 views
0

다음은 YouTube API를 사용하여 인증을 사용하는 일부 코드입니다.OAUTH를 사용하여 youtube 인증이 작동하는지 확인하는 방법

Public Function GetService(ByVal username As String, ByVal password As String) As YouTubeService 

     Dim service As YouTubeService = New YouTubeService("test", "xxxxxxxx") 
     service.setUserCredentials(username, password) 

     Return service 

    End Function 

잘못된 자격 증명을 입력하면 YouTube는 사용자가 성공적으로 인증되었는지 여부를 지정하지 않습니다. 이 작업을 수행 할 다른 방법이 있습니까?

답변