Has anyone tried to fetch all comments across media objects given an access token/user id?
The published API expects a media-id :
https://api.instagram.com/v1/media/{mediaid}/comments?access_token=ACCESS_TOKEN
Thanks for the help.
No bulk comment API for Instagram. I don't think it would be supported as well. - it was there for FB graph API v1.0 and removed in v2.0 after. And now every Instagram API is being migrated to FB graph API: https://developers.facebook.com/docs/instagram-api/reference/user
trend seem to favour that it won't be supported.
Related
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
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
I am using new Instagram Graph APIs for my application, I am interested in knowing if there is any way I can get profile information about the user who comments on my Instagram posts and what are possible ways to get the direct message exchanging with those users, as far I found that Instagram Graph APIs do not provide any direct messaging support for now, though I found some private APIs but these are not reliable as they can be restricted any time in future.
So all I need is to get those user`s information who commented on my Posts ie- I get only comment_id from the web-hook request from Instagram Graph APIs but when using that comment I try to get its owner/user it does not return any user information except username.
Any help is highly appreciated.
Thank you!
try this endpoint:
v3.0/{comment_id}?fields=id,timestamp,username,text
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.
Does anyone know if there is an endpoint for business information in the Instagram API. Their docs do not display this but it's a relatively new feature and we all know how documentation gets left behind sometimes.
Thanks,
Tom
Instagram just released a new api that utilizes the old Facebook Graph API. It allows you to read insights and receive more business stats. The only downside is that the api is in beta and only available to 'select partners'.