0
を使用して、ユーザーのプレイリストを取得する私は、ユーザーを認証し、現在認証されたユーザプレイリスト取得しようとしますが、リクエストがinavlidであり、エラーがほどは、YouTubeのAPI
要求の実行である現時点では、このコードは失敗している:
を http://gdata.youtube.com/feeds/api/users/[email protected]/playlists
Public Function GetRequest(ByVal username As String, ByVal password As String) As YouTubeRequest
Dim youtubeSettings = New YouTubeRequestSettings("test", DeveloperKey, username, password)
Dim youtubeRequest As New YouTubeRequest(youtubeSettings)
Return youtubeRequest
End Function
Public Function GetUserPlaylists(ByVal username As String, ByVal password As String)
Dim youtubeRequest As YouTubeRequest = Me.GetRequest(username, password)
Try
Dim userPlaylists As Feed(Of Playlist) = youtubeRequest.GetPlaylistsFeed(username)
If True Then
End If
Catch ex As Exception
End Try
End Function
、それは特定の文字を使用していますので、それはたぶん私はURLENCODEする必要があり、ユーザ名をどうするかもしれません – redoc01