how to get instagram basic permission - facebook

I am trying to view my Instagram account after logging in to Facebook.
Currently, the business Instagram account linked to Facebook cannot be viewed.
Do I need to verify my business on Facebook > App to get Instagram Basic permission?

Related

Instagram Insight API for page not linked to FB page

Is it possible to get Instagram insights via API (or sdk) for a page that is not linked to a facebook page?
From what I have read on the link Instagram Insight API it says
However, unlike Facebook users, Instagram users cannot grant your app access tokens directly. Instead, they must connect their Instagram Professional account to a Facebook Page. Once connected, any Facebook User who is able to perform Tasks on behalf of that Page will be able to grant your app a User access token, which you can then include in API requests..
Is there no way to get insights via API for pages that are not linked to facebook page? Cant the Instagram account grant an access key or something along the line ?

How can I get an instagram business account with Facebook Graph API?

The condition I am using:
Graph API version: 7.0
The problem I have: I can get the Instagram business account of my Facebook developer account,
However, I cannot get the Instagram business account when I login Facebook with another account.
The account has the permissions below:
The Instagram account is connected to its Facebook page.
The Instagram account is a business profile.
The Facebook account that I want to connect to Instagram account has the authorisation more than editor.
I could get this:
/me?fields=name,picture, but not
/me/accounts?fields=instagram_business_account
I tried with this API:
/me/accounts?fields=instagram_business_account{name,username,profile_picture_url},access_token,name,picture{url}', function(response) { }
The response I got:
{ "data": [ ] }
Do I need additional authorisation or something?
Your App is most likely not public and and you need to go through the review process first - with all the permissions you need. Else, it will only work for users with a role in the App.
More information: https://developers.facebook.com/docs/apps/review/
Also, the IG account must be a business account, and it must be connected to the Facebook Page: https://www.facebook.com/business/help/898752960195806
To get Instagram IDs linked to user's pages you need these permissions (verified and approved for your app): instagram_basic, pages_show_list, pages_read_engagement.
You can read guide here https://developers.facebook.com/docs/instagram-api/getting-started
Everything is correct on that page except extra permission needed to get IG ID: pages_read_engagement

User Instagram Graph API without Facebook Login

I'm trying to use the Instagram Graph API from Facebook. I need the media, stories and some profile information like follower. The problem is, that many users have no Facebook page which is connected to a instagram account.
Is it possible to use the Instagram Graph API without Facebook Login? The best solutions would be a login via Instagram or login via Facebook but without required page. Have anyone a suggestion?
I read through the documents and did a bunch of testing.
Here's what I think is necessary for using instagram Graph API as of 21-01-2021:
A facebook login to get fb access token
A page that connect to a business/creator account
We can get the connected instagram business/creator account's data by the token.
If users do not have facebook page is your concern, consider to use the instagram basic api instead.
I think it is possible to get ig data without facebook technically. Hope facebook get provide a clearer instruction and docs for developers in the future.

New connect Instagram feature using Instagram graph API

My requirement is to add the feature of Instagram connect and fetch their post/medias.
So I am referring this link Instagram APIs for Instagram connect feature in my android app to fetch user posts of Instagram. as written in document Instagram developer APIs are going to deprecated in early 2020. so I read this new link Instagram Graph API of Instagram graph APIs.
So the problem is I am uncleared with the flow of connect Instagram feature using graph APIs.
So below are my queries:
If I need to connect Instagram and want to fetch their post/media
Do we need to authenticate with Instagram or Facebook?
What will be the flow of it for the user experience?
And all the user that want to connect with Instagram. they have to create Facebook page and link Instagram account to Facebook page?
Or we only need to configure developer account with these steps Instagram Graph API
Thanks
Happy Coding....
The "old" Instagram API is going to be deprecated soon. You should use Facebook Graph API instead. However you need to keep in mind that at the moment Facebook Graph API supports only Instagram Business Accounts. It is not possible to fetch Instagram posts for "regular" Instagram accounts. If you need to support both, you have to apply for both APIs - Instagram API and Facebook Graph API.
With old API you need to authenticate via Instagram login flow. With new Graph API you need to go via Facebook login.
User needs to connect his/her account to your app. Depends on API you are planning to use, but user will have to go either through Instagram (regular accounts) or Facebook (business accounts) and approve access for your app to their content.
Yes, if you plan to use Facebook and Graph API. The requirement for Instagram Business Account is to have Facebook page connected to Instagram account. It is not required for regular accounts and Instagram old API. However you can also access business accounts from old API too;)
It really depends on your use-case. If this is only internal app and you plan to support your personal Instagram account, you cna basically configure the developer account only. But if you plan to release the app to global account you need to go through verification process and app review on Facebook.

Instagram permissions approval issues

We submitted Instagram permissions for review: instagram_basic and instagram_manage_comments.
Response was: "Your screencast does not show a test user logging into Instagram in your app. Please update your screencast to show the complete login experience.".
On Facebook login, we get user's pages he manages and then when selecting a page we get Instagram account connected to the page (if connected). Here we get Instagram username and Business ID. Another question is for permission instagram_manage_comments. Receiving users comments on post is handled via webhooks. In our DB we save that comment and then admin user can reply to that comment directly from admin panel.
Can anyone tell me how to login with Instagram test account? I tried with Facebook Test users, logged in, then created a page, and created the Instagram account. But how to try all functions with test user when I can not log in Instagram account and create a post and comment on post?
Thanks