https://graph.facebook.com/v13.0/150245620943737?fields=connected_instagram_account,instagram_accounts{id,profile_pic,username},id&access_token= I am using this API to fetch the details but not able to add account for it
"https://graph.facebook.com/" + userId + "/accounts?access_token=" + userAccessToken; used this API as well not able to fetch
Yes, you cannot fetch because of api flow was changed. I am not sure in v13.0 but start v16.0. You can call like https://graph.facebook.com/v16.0/me?fields=page_token,instagram_accounts{profile_pic,id,username},id,access_token and then you also need business_management permission.
Problem I am facing at fetching all details for particular account https://graph.facebook.com/150245620943737/accounts?access_token=app_Access_Token this is not providing me the instgram page Id so I am not able to add it
https://graph.facebook.com/v16.0/me/accounts I used this also but still some times it provide me the instgram account as well else response data[] please help regarding this