Users are getting error "Invalid Request: Request parameters are invalid: Invalid scope: user_profile"
Hey Morgan, create config_id instead of directly write scope and user_profile you need an access from request access from the app
My team recently encountered this issue.
The reason for this was that Instagram had deprecated their Basic Display API (which we were still using). Thus, users can not authenticate in this way. Fortunately, the fix is simple. You need to simply change the scope permissions to the new valid scope permissions: - instagram_business_basic - instagram_business_content_publish - instagram_business_manage_comments - instagram_business_manage_messages
So if your URL looked like this before:
js
const instaUrl = `https://api.instagram.com/oauth/authorize?client_id=${instaAppId}&redirect_uri=${instagramRedirectUrl}&scope=user_profile,user_media&response_type=code`;
It should now look like this (notice the scope param):
const instaUrl = `https://instagram.com/oauth/authorize?client_id=${instaAppId}&redirect_uri=${instagramRedirectUrl}&scope=instagram_business_basic&response_type=code`;