I have the instagram API flow working.
- Authorize to
- Exchange token for long-lived access token at ;client_secret=${IG_APP_SECRET}&access_token=${access_token}
The only scope is instagram_business_basic.
What I can't figure out is, why this flow works perfectly for me, but not for another test user, who also has an Instagram business account. The response for their token is "Unsupported request - method type: get"
I can't figure out the differences between the two accounts. I've also tried to use the graph API to find the difference ,username,account_type&access_token={token} Which works for my account, but for their token shows the same error. How else can I investigate this?
Edit: I discovered I was a test user, because though my personal instagram wasn't added, my linked facebook was an admin. When I added the other account as a test user the flow worked for them. However, I still don't know how to make the flow work for non-test users. The business is verified, the app has advanced "instagram_business_basic" permission approved. At this point I'm just requesting random permissions because no one at Meta will communicate with me.
I have the instagram API flow working.
- Authorize to https://www.instagram/oauth/authorize
- Exchange token for long-lived access token at https://graph.instagram/access_token?grant_type=ig_exchange_token&client_secret=${IG_APP_SECRET}&access_token=${access_token}
The only scope is instagram_business_basic.
What I can't figure out is, why this flow works perfectly for me, but not for another test user, who also has an Instagram business account. The response for their token is "Unsupported request - method type: get"
I can't figure out the differences between the two accounts. I've also tried to use the graph API to find the difference https://graph.instagram/me?fields=id,username,account_type&access_token={token} Which works for my account, but for their token shows the same error. How else can I investigate this?
Edit: I discovered I was a test user, because though my personal instagram wasn't added, my linked facebook was an admin. When I added the other account as a test user the flow worked for them. However, I still don't know how to make the flow work for non-test users. The business is verified, the app has advanced "instagram_business_basic" permission approved. At this point I'm just requesting random permissions because no one at Meta will communicate with me.
Share Improve this question edited Mar 27 at 17:18 Nate asked Mar 13 at 1:24 NateNate 316 bronze badges2 Answers
Reset to default 1I was implicitly a test user because my Facebook account was automatically added as a test user. Adding the other account as a test user resolved their problem. So now I think I need to request advanced access on instagram_basic through app verification. It's hard to get guidance from Meta, though I asked for it in my verification request.
Same understanding here. Do you usually communicate through which platform? If meta wont help, we need to help ourselves :D