Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Unresolved BC30456 error
Oğuzhan Akalın
0
Reputation points
I want to develop a tweeting program for my homework. But there was an error in the codes I wrote and I couldn't fix it. I'm getting error BC30456. Can you help?
Imports Tweetinvi Imports Tweetinvi.Models Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ' Twitter API anahtarları Dim consumerKey As String = "qqRGmekzc7oJd2By1vldpTgYw" Dim consumerSecret As String = "mkN3y5DMXvgXVxfC0jgcnnwSAKdbm9ZssvDnQKBVuttSbqqaFb" Dim accessToken As String = "1441296951476056072-hAcOLU1CiYLoCXlM3RJgLUFxNfxDUr" Dim accessTokenSecret As String = "X3du1SFcVD0BMG6Na0HLtDDmvkgdcxmlV8gkJ4WlP2WPu" ' Twitter kimlik doğrulama bilgilerini ayarla Auth.ApplicationCredentials = New TwitterCredentials(consumerKey, consumerSecret, accessToken, accessTokenSecret) ' Tweet atılacak metni al Dim tweetText As String = TextBox1.Text Try ' Tweet atma işlemi ve tweet nesnesini al Dim tweet As ITweet = Tweetinvi.Tweet.PublishTweet(tweetText).Result ' Başarılı tweet durumu MessageBox.Show("Tweet başarıyla atıldı! Tweet ID: " & tweet.Id) Catch ex As Exception ' Hata durumu MessageBox.Show("Hata oluştu: " & ex.Message) End Try End Sub End Class
Developer technologies | .NET | Other
Developer technologies | .NET | Other
Developer technologies | VB
Developer technologies | VB
An object-oriented programming language developed by Microsoft that can be used in .NET.
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Sign in to answer