检查Instagram禁止的用户名

时间:2019-04-06 08:13:08

标签: vb.net instagram

我如何检查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

它只是给我一个错误

我认为这行不通 您还有其他方法吗?

1 个答案:

答案 0 :(得分:0)

您应该将登录凭据添加到您的Web客户端;

 WebClient client = new WebClient();
 client.UseDefaultCredentials = true;
 client.Credentials = new NetworkCredential("username", "password");