Closed MikeMikera closed 2 years ago
I solved this problem. It's highly recommended that when you create your app, you choose the Business App option in the console. Some permissions are ONLY available to Business apps and we are not able to change the app type according to this documentation:
https://developers.facebook.com/docs/development/create-an-app/app-dashboard/app-types/
Unfortunately, in my case, I needed to remove my app with all permissions granted and create a new one. If you don't create a business app you won't be able to use this SDK.
Hope this can help other people with the same issue. See you!
In the process to get an access token using Instagam Graph API, the Facebook login page is showing the following error message:
That would not be a problem because this message is not displayed if you use a Facebook Test User to authenticate. But, to get Instagram insights, metrics, etc. we need two things basically:
1 - A business or content creator Instagram account; 2 - Link this professional account to a Facebook account and page in order to authenticate via Facebook login process (unfortunately we can't authenticate new users using Instagram only);
The problem is that even if we can create a Facebook Test page using a Test user, we cannot link an Instagram account to a Facebook Test page. Then we get stuck on it: if we use our administrator Facebook account, we got the annoying error message, and if we use a Facebook Test user account, we can't link it to a Instagram professional account.
This error only occurs when we add the
instagram_basic
scope or any other that is notpages_show_list or pages_read_engagement
.Need some help here to get rid of this error. Thank you!