Programmatically post and tag media on Instagram - instagram

I searched into the Instagram API docs and I discovered that posting images and tagging products through API requests is not (yet?) possible.
Is it true?

Depends from type of account that you use:
Personal account. Not possible to post via API
Business account. Posible via API Graph for Instagram. https://developers.facebook.com/docs/instagram-api/overview

Related

How to get instagram id from update 29/6/2020

I am building instagram in wordpress using the "elementor" plugin.
In the old version I used the => https://api.instagram.com/v1/users/[my-id]/media/recent/?access_token=[my-token]
Path to retrieve my instagram info data
Through the "29/6/2020" version the old link was no longer available. The algorithm changed that I was unable to retrieve my instagram data that way.
You can show me a new link or a new way for me to get my instagram data (photos, links, likes, comments) on my instagram.
Thank you very much
Best regards
Now you need to connect your instagram account with your facebook account. After of that you can access such things in new way as described at https://developers.facebook.com/docs/instagram-api/reference/user/media#get-media here. Also you need instagram account as Business account.
If you wish to fetch media from your personal account for your website you don't need to work with the graph API and Facebook login part, simply use the INSTAGRAM BASIC DISPLAY API and get your details and media.
Refer this link:
https://developers.facebook.com/docs/instagram-basic-display-api

Does Instagram API support get followers list and more?

I am working on an app, which does the below:
A user logins using instagram User creates content and shares it with a subset of her instagram followers ( say 3 out of 200)
Those 3 users get a message in their insta inbox and can click on a link
and sign up on our app.
I am trying to find Insta API documentation, but I am unable to. Can someone experienced with Insta API's please guide to me to specific parts of the Instagram API documentation which can do What I am imagining?
Thanks
The thing that you are trying to create is not possible by using official Instagram APIs. None of the APIs returns the list of followers for given user. It is also not possible to send a Direct message via Instagram API.
https://developers.facebook.com/docs/instagram-api here is the introduction to Instagram Graph API. Right on the top of that page you will find possible use-case scenarios.
There is also more limited Basic Display API which documentation and possible use-cases you can find here: https://developers.facebook.com/docs/instagram-basic-display-api

Instagram API with PHP

I have an application where I am using Facebook,Linkedin and Twitter Api's to post on the respective platforms.Now I am deciding to use Instagram to start posting using their Api but I have not found any good articles to implement their Api.
Moreover I have read somewhere that it is not possible to post media contents using Instagram Api's. Is it true or we can now use Instagram to share media contents ?
Currently, it's only possible to post comments via the Instagram Graph API. You cannot post media.
https://developers.facebook.com/docs/instagram-api/reference/media
IG Media
Represents and Instagram photo, video, story, or album.
Creating
This operation is not supported. To create an IG Comment, use the POST /{ig-media-id}/comments endpoint instead.
However there is a new publishing beta program you must be invited into:
https://developers.facebook.com/docs/instagram-api/reference/user/media
Creates a media container for a photo IG Media object. This endpoint is only available to partners in the Content Publishing API beta program.
https://developers.facebook.com/docs/instagram-api/guides/content-publishing

Instagram API comments webhook

I try to integrate Instagram into my web app.
I need receive webhook by each comment in my media.
I create a Client in Instagram/developers and POST subscription,
But only receive when posting a media.
When another way,
I try with Facebook Instagram API, and receive webhook from a commets,
but if the user which write the commets isn´t a business account, I´m can´t get a data from the user.
Any suggestion?
Existe another way to integrate API Instagram?
Thanks!
No. You have covered the possible scenario. Comment webhooks are only supported in the FB graph API. And to use that you need to connect with business account. They don't support comment webhooks for non-business account.

retrieving instagram stories data using instagram api

I want to access and retrieve a user's Stories post from Instagram using their Dev API.
I tested after posting a story myself by using https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN.
However, that returns an empty object unless I post a regular post.
As far as I am aware the Instagram API does not currently return Stories.
The example response in the documentation for the media endpoint, for example, shows responses for Images, Videos and Carousel items only. The recent media end point documentation doesn't go into much detail on responses.
Media End Point Documentation
It is available only for Instagram Business Account.
See this link for more information: https://developers.facebook.com/docs/instagram-api/reference/user/stories/
The id returned by this endpoint can be used on the same API media endpoint.

Resources