Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用ASPX.NET(C#)从Instagram个人资料中获取粉丝数量_Instagram - Fatal编程技术网

如何使用ASPX.NET(C#)从Instagram个人资料中获取粉丝数量

如何使用ASPX.NET(C#)从Instagram个人资料中获取粉丝数量,instagram,Instagram,我在ASP.NET项目中使用C语言,但我不知道怎么做。有可能吗 我已经有密码了 谢谢似乎可以获得Instagram个人资料的关注人数 如果您使用Instagram api,它将返回追随者的数量。您可以将这些数据输入到对象中,以便在应用程序中使用这些数据 例如,https://api.instagram.com/v1/users/1574083/?access_token=ACCESS-令牌将返回有关用户的以下数据 { "data": { "id": "1574083", "use

我在ASP.NET项目中使用C语言,但我不知道怎么做。有可能吗

我已经有密码了


谢谢

似乎可以获得Instagram个人资料的关注人数

如果您使用Instagram api,它将返回追随者的数量。您可以将这些数据输入到对象中,以便在应用程序中使用这些数据

例如,
https://api.instagram.com/v1/users/1574083/?access_token=ACCESS-令牌
将返回有关用户的以下数据

{
"data": {
    "id": "1574083",
    "username": "snoopdogg",
    "full_name": "Snoop Dogg",
    "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1574083_75sq_1295469061.jpg",
    "bio": "This is my bio",
    "website": "http://snoopdogg.com",
    "counts": {
        "media": 1320,
        "follows": 420,
        "followed_by": 3410
    }
}
您可以在以下网址找到他们的API: 在API控制台中,它将根据您的需要生成URL。它真的很容易使用。根据控制台,您必须访问

{user id}/后跟

其中,
{user id}
是用户的id

它可能会返回一个列表。数一数,你就到了