检查Instagram禁止的用户名

问题描述 投票:0回答:1

如何检查Instagram用户名是否被禁用?使用vb

我试图读取此网址以获取帐户信息https://www.instagram.com/imopvp/?__a=1但它只是返回一个错误没有登录当我使用https://i.instagram.com/api/v1/accounts/login/登录时

Try
Dim web as string = new webclient().downloadstring(“https://www.instagram.com/imopvp/?__a=1”)
Msgbox(web)
Catch ex as exception
Msgbox(ex.message)
End try

它只是给我一个错误

我认为这不起作用你还有其他方法吗?

vb.net instagram
1个回答
0
投票

您应该将登录凭据添加到webclient;

 WebClient client = new WebClient();
 client.UseDefaultCredentials = true;
 client.Credentials = new NetworkCredential("username", "password");
© www.soinside.com 2019 - 2024. All rights reserved.