0
需要一些幫助,因爲API比樣本更新。Visual Basic 2012的新YouTube API示例
這裏是我的代碼:
Imports Google.GData.Client
Imports Google.GData.Extensions
Imports Google.GData.Client.RequestSettings
Imports Google.GData.YouTube
Imports System.Net
Public Class Form1
Private Sub btnLogin_Click(sender As Object, e As EventArgs) Handles btnLogin.Click
Dim settings As RequestSettings
Dim request As Google.YouTube.YouTubeRequest
settings = New Google.YouTube.YouTubeRequestSettings("YouTube List", "DEVKEY", ytUserName.Text, ytPassword.Text)
request = New Google.YouTube.YouTubeRequest(settings)
settings.AutoPaging = True
Dim youtuberequest As New Google.YouTube.YouTubeRequest(settings)
For y As Integer = 0 To youtuberequest.GetVideoFeed("PBXHowTos").Entries.Count - 1
ListBox1.Items.Add(youtuberequest.GetVideoFeed("PBXHowTos").Entries(y).Id)
Next
End Sub
End Class
我的問題是這樣的功能不起作用。有沒有人有一個VB的新的YouTube API的工作示例?
感謝但V2仍然工作或沒有?感謝您的迴應。我很感激。 – CJRaptor 2013-02-11 19:04:34