Can't get Instagram long-lived token for some business accounts - Stack Overflow

I have the instagram API flow working.Authorize to Exchange token for long-lived access token at;cli

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 badges
Add a comment  | 

2 Answers 2

Reset to default 1

I 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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744723684a4590061.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信