这现在可用,但前提是用户授权您的应用程序。用户的帐户还需要是 Instagram 商业帐户。
https://developers.facebook.com/docs/instagram-api/reference/user/stories
没有公共API,但您可以通过使用您的帐户登录instagram.com并将此代码粘贴到控制台中来获取故事json数据,它将在控制台中输出数据
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (xhttp.readyState == 4 && xhttp.status == 200) {
console.log(xhttp.responseText);
}
};
xhttp.open("GET", "https://i.instagram.com/api/v1/feed/reels_tray/", true);
xhttp.send();
Run Code Online (Sandbox Code Playgroud)
(你必须从instagram.com和用户登录)
归档时间: |
|
查看次数: |
19645 次 |
最近记录: |