如何使用Instagram API从永久链接中获取帖子的Media_id?
我正在尝试从Instagram帖子的永久链接中获取Media_id
。
我知道存在:
GET https://graph.facebook.com/{api-version}/?fields=business_discovery.username(username){media,id}&access_token={access-token}
这使我可以从特定帐户中获得Media_id
。
但这对我无济于事,因为我需要使用任何帖子Media_url
使用其Media> Media_ID获取
。Media_id
,而不是任何帐户
另外,我在官方的Facebook/Instagram API文档中找不到任何相关的内容。
I am trying to obtain media_id
from the permalink of an Instagram post.
I know that there exists:
GET https://graph.facebook.com/{api-version}/?fields=business_discovery.username(username){media,id}&access_token={access-token}
This lets me get media_id
for all latest posts from a specific account.
But that does not help me as I need to get media_id
for any particular post instead of any account as my objective is to get media_url
of any post using its media_id
.
Also, I could not find anything related in the official Facebook/Instagram API documentation.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论