admin管理员组文章数量:1123347
I’m working on integrating Instagram authentication into my app to retrieve the username and userId using the Graph API. Previously, Instagram supported the Instagram Basic Display API, but it was deprecated after December 4, 2024. Now, we need to use either the Instagram API with Instagram Login or the Instagram API with Facebook Login.
While setting up the app in the developer account, I noticed that the Instagram product is only available if the app type is set to “Business.” If the app type is set to “Consumer,” Instagram cannot be added as a product, meaning I cannot generate the appId and appSecret required for OAuth.
To work around this, I created the app as a “Business” type and added Instagram as a product. I was able to complete the OAuth flow, retrieve the authorization code, and generate an access token. Using the access token, I attempted to fetch user details, and all steps seemed correct. However, when logging in with my credentials, Instagram prompts me to switch my account to a professional account.
I want to avoid showing this prompt to my users and requiring them to switch to a professional account. Is there a way to retrieve user details without requiring the account to be professional? Additionally, is it possible to perform OAuth and retrieve user details using an app created with the “Consumer” app type?
本文标签:
版权声明:本文标题:flutter - Is it possible to integrate and access Instagram basic information without selecting the app type as "Busines 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736563175a1944670.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论