Instagram无效的Oauth访问令牌

发布于 2025-01-28 02:30:39 字数 861 浏览 4 评论 0 原文

我正在尝试喜欢Instagram帖子,并在帖子上添加评论。NETC#

我有一个访问令牌从Instagram那里获得的,该代币正在努力获取用户信息并发布帖子。

尝试在使用相同访问令牌的帖子上喜欢或发表评论时会出现错误 这是我的帖子请求

这是错误:

{“ meta”:{“ code”:400,“ error_type”:“ oauthaccesstokenexception”,“ error_message”:“提供的access_token提供了无效。}}}}

>

我使用Instagram Basic Display应用程序与Tester帐户使用Instagram Basic Basic Display应用程序。

如果有人有任何想法,请分享。

I'm trying to like the Instagram posts and add comments on the post.NET C#

I have an access token get from Instagram this token is working on getting user information and published post.

When trying to like or comment on post with same access token getting error
Here is my post request

https://instagram.com/media/"MYPOSTID"/likes?access_token="MYACESSTOEKN"

here is error:

{"meta": {"code": 400, "error_type": "OAuthAccessTokenException", "error_message": "The access_token provided is invalid."}}

I'm using Instagram basic display app with a tester account.

If anyone has an idea please share.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文