我希望为我的网站实施Instagram提要阅读器。一位读者将以独特的互动方式展示我的Instagram Feed,而不会要求用户登录Instagram。有没有一种方法可以让我可靠地使用Instagram API或其新的Instagram Business API来做到这一点?Instagram提要查看器的API
当前选项及其注意事项:这里找到
1. Instagram的1.0版API(https://www.instagram.com/developer/) 要求用户进行身份验证。应用程序无法使用grant_type=client_credentials
来获取令牌并进行API调用。
生成的令牌似乎不会过期,但是一个便条说它们可能会随时过期,从而使得使用手动生成的令牌不可靠的解决方案。 https://www.instagram.com/developer/authentication/
2. Instagram的业务占这里找到API(https://developers.facebook.com/docs/instagram-api/) 需要一个Instagram的企业帐户,并在同一时间内查询到的媒体端点似乎需要用户访问令牌,这又需要用户登录用于生成/更新令牌。 (https://developers.facebook.com/docs/instagram-api/reference/media/)
我知道像https://www.instagram.com/{username}/media/
这样的端点,但这是无证的,可以随时消失。
我将非常感谢任何帮助,或建议实施这样的饲料,不需要用户生成认证令牌。