My issue is not about code, I'm tried to publish content on instagram. So I use Graph API : https://developers.facebook.com/docs/instagram-api/getting-started I followed steps :
First:
I set token in graph API
Then:
I make request to
[GET] /me/accounts (get page id)
[GET] /page_id?fields=instagram_business_account (get instagram page)
[GET] /instagram_page/media (get media of instagram page)
Their steps work well but I'm not able to make this request
[POST] /instagram_page/media?image_url=https://images.pexels.com/photos/248797/pexels-photo-248797.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500 &caption=#BronzFonz
I saw that : Facebook Ads Insights API: (#3) Application does not have the capability to make this API call
But he doesn't use Graph API
I use Graph API with autorizations
Can someone help me or tell me if he got the same result