Tweetinvi - 当前上下文中不存在名称 'auth'
Tweetinvi - The name 'auth' does not exist in the current context
我在 Youtube 上看了一个视频。我上传了 Tweetinvi。我在视频中写了同样的代码,但是出现了错误。我不知道我做错了什么。错误:名称 'Auth' 在当前上下文
中不存在
using Tweetinvi;
namespace test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Auth.SetCredentials("", "", "", "");
}
private void btnSend_Click(object sender, EventArgs e)
{
}
}
}
旧版本的授权。查看 Tweetinvi 5.0.3 文档 https://linvi.github.io/tweetinvi/dist/twitter-api-v1.1/tweets.html
我在 Youtube 上看了一个视频。我上传了 Tweetinvi。我在视频中写了同样的代码,但是出现了错误。我不知道我做错了什么。错误:名称 'Auth' 在当前上下文
中不存在 using Tweetinvi;
namespace test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Auth.SetCredentials("", "", "", "");
}
private void btnSend_Click(object sender, EventArgs e)
{
}
}
}
旧版本的授权。查看 Tweetinvi 5.0.3 文档 https://linvi.github.io/tweetinvi/dist/twitter-api-v1.1/tweets.html