获取Instagram用户故事

发布于 2025-01-26 23:50:22 字数 438 浏览 5 评论 0原文

在我的应用程序中,用户使用Instagram进行了访问,我们获得了访问令牌!

这很好,我们可以访问所有常规帖子。但是似乎还不清楚如何访问用户的故事。

这适用于帖子:

 'https://graph.instagram.com/$userID/media?fields=id,caption&access_token=$accessToken'

Ive尝试了此故事:

 'https://graph.instagram.com/$userID/stories?fields=id,caption&access_token=$accessToken'

 'https://graph.instagram.com/$userID/stories&access_token=$accessToken'

In my app, user atuhenticates with instagram, and we get an access token!

This is good, and we can access all regular posts. But it seems so unclear how to access the user's stories.

this works for posts:

 'https://graph.instagram.com/$userID/media?fields=id,caption&access_token=$accessToken'

Ive tried this for stories:

 'https://graph.instagram.com/$userID/stories?fields=id,caption&access_token=$accessToken'

 'https://graph.instagram.com/$userID/stories&access_token=$accessToken'

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

残龙傲雪 2025-02-02 23:50:22

您可以使用图形API来列出所述用户故事,如上所述在这里

GET graph.facebook.com
    /17841405822304914/stories

You can use the Graph API in order to list User Stories as mentioned here.

GET graph.facebook.com
    /17841405822304914/stories
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文