0

YouTuber のチャンネル登録者数を表示するフォームが必要です。私はすでに API をインストールしており、次のコードを取得しました。

Imports Google.GData.YouTube
Imports Google.GData.Client
Imports Google.GData.Extensions

Public Class Form1

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        Dim subshelper As New Service
        Dim feedUrl As String = "http://gdata.youtube.com/feeds/api/users/SkyDoesMinecraft"
        Dim profile As ProfileEntry = subshelper.Get(feedUrl)
        Dim subscount As Integer = profile.Statistics.SubscriberCount

        Label1.Text = subscount
    End Sub
End Class

私はこのエラーが発生しました:

An unhandled exception of type 'Google.GData.Client.GDataRequestException' occurred in Google.GData.Client.dll

Additional information: Execution of request failed:
https://gdata.youtube.com/feeds/api/users/SkyDoesMinecraft

誰でもここで私を助けることができますか? ありがとうございました!

4

1 に答える 1