This video saved so much of my time, thanks buddy.
@broboredo4 жыл бұрын
Nice videos, Justin! continue with it! thx a lot so I think without OOP seems a little bit messy code, but I understand the purpose of videos
@justinstolpe4 жыл бұрын
Thanks! Yes, code should be cleaned up for use with an actual application. Just demoing how to connect to the api here and comment/reply.
@richard_ags3 жыл бұрын
If you need a REST API make it by your self lol
@broboredo3 жыл бұрын
@@richard_ags ?
@caninan6522 ай бұрын
hello everyone. I managed to retrieve the comments and replies, but I did not manage to retrieve the profile images of the comments. Although I browsed through the documentations, I could not see a clear application regarding this. Does anyone have information?
@TheLifeofKB4 жыл бұрын
Great vid!!! I want to grab a specific comment on a live video and load it on a local webpage? Any good videos to start on?
@justinstolpe4 жыл бұрын
I have a playlist for the Instagram Graph API kzbin.info/aero/PL0glhsZ01I-BAFwPmQBWMNqUDnkSlOR6r
@RTTECHFORCE4 жыл бұрын
nice and understandable video you make. justin can you please make next video on feed posting on instagram account like video or posts . if it's possible
@justinstolpe4 жыл бұрын
At this time it is not possible. That feature is under a closed beta and they are not taking applicants.
@RTTECHFORCE4 жыл бұрын
@@justinstolpe alright thanks
@clearthinking54416 ай бұрын
does this work on Live streams?
@thomasl79322 жыл бұрын
Hi there! quick question, is it possible to reply to a comment in which I am mentioned, but I'm not mentioned in the post? (so User X posts an image, User Y mentions my company name in a comment, I receive the comment in a webhook, but I can't seem to reply to it) replying to comments on our own posts works like a charm, but replying to above gives me: getting an error : Unsupported post request. Object with ID '012354346' does not exist, cannot be loaded due to missing permissions, or does not support this operation.
@justinstolpe2 жыл бұрын
I believe you can only reply to comments on your own posts. Otherwise you need a user token for the account to reply on their comments.
@ibexy3 жыл бұрын
How does one get the correct [media-id]? I used the hashtag search code to get a bunch of posts but the [id] in that throws an error when used to try and add comment?
@justinstolpe3 жыл бұрын
I believe you need a user access token on behalf of the user that created that media to do any more queries with the actual id.
@ibexy3 жыл бұрын
@@justinstolpe It looks very much like the api doesn't give you the same access right you have on a browser to comment on any post.
@akshayshrivastav9664 жыл бұрын
I saw your videos and all of them are amazing, however i want to know how to post image with caption on instagram using the API? I tried searching everywhere but landed with nothing. Could you share the same?
@justinstolpe4 жыл бұрын
Unfortunately, this is not possible right now because the API for posting content is in a closed beta.
@akshayshrivastav9664 жыл бұрын
@@justinstolpe How about a video on posting to LinkedIn company page, because all round the internet it's nowhere. I tried doing trial and errors but landed up only posting on a personal account and not on LinkedIn company page in php
@justinstolpe3 жыл бұрын
@@akshayshrivastav966 Publishing Content with the Instagram API is now possible! Here is how to do it -> kzbin.info/www/bejne/Z52uq6hpirt9qdE
@usama93844 жыл бұрын
the manage_pages permission is giving an error. Is there a change in permissions by fb?
@justinstolpe4 жыл бұрын
Yeah they released permissions that replace the manage_pages developers.facebook.com/docs/permissions/reference/manage_pages/
@usama93844 жыл бұрын
@@justinstolpe ok thanks for the help . And all the videos!
@stefanosgiannakis71514 жыл бұрын
Keep up this great work !!!
@aakashbajaj52854 жыл бұрын
Hi Justin, can you tell me how we can extract the ig-media-id from the post url? I am able to get the ig-media-id from the user profile list. But I need to get it when I have the post url. TIA!
@justinstolpe4 жыл бұрын
I have a video for it in my graph api playlist kzbin.info/www/bejne/g2ipfqGBbsagack
@richard_ags3 жыл бұрын
Great!
@tharana2 жыл бұрын
hello Justin , Is it possible to get all the comments on personal facebook account in the same way? And can I know if we can get it on a personal youtube channel comment with permission using google API?
@justinstolpe2 жыл бұрын
I believe for FB it is possible. I have not used google API for youtube but would think that would be possible as well.
@pratikziman90974 жыл бұрын
Api commet and use for detecting using Machine learning and python
@jindev49014 жыл бұрын
Hi Justin! I really like your tutorial. It's really useful and easy to understand. Is there any way to post image, text and hashtag to instagram using api?
@justinstolpe4 жыл бұрын
Posting is currently in a closed beta. However, you can post comments and replies.
@jindev49014 жыл бұрын
so,is there anyway to post text,photo,hastag and link using api?
@justinstolpe4 жыл бұрын
@@jindev4901 I don't thing so at this point
@jindev49014 жыл бұрын
@@justinstolpe Thanks
@visheshaylani2954 жыл бұрын
Hello Justin, Thanks for a video. Can you please make a video of extract comments and its replies of public accounts in python?
@justinstolpe4 жыл бұрын
In order to extract these, the user would need to authorize your app so you have access to pull their posts/comments/replies.
@zedkrimo3 жыл бұрын
If i made a loop to teply to all comments on a post i made what is the limit number of comments i can reply to it ?
@justinstolpe3 жыл бұрын
You should be able to check your limits here is the documentation developers.facebook.com/docs/graph-api/overview/rate-limiting/ It says the limit is "Calls within one hour = 200 * Number of Users"
@zedkrimo3 жыл бұрын
@@justinstolpe I have only my page , so i can make 200 reply every 1 hour ?
@justinstolpe3 жыл бұрын
@@zedkrimo yeah you should be able
@zedkrimo3 жыл бұрын
@@justinstolpe Thbk u bro ❤
@HitendraKhadtare Жыл бұрын
how we can "like comment of instagram" using graph api
@joedelorimier44544 жыл бұрын
Is there any way you could demo accessing another instagram user's data? What does that permission process look like?
@joedelorimier44544 жыл бұрын
It would be interesting to be able to have count of likes, count of comments, and the date for each post that a user (not you) made
@justinstolpe4 жыл бұрын
Here is what the permission process would look like kzbin.info/www/bejne/iIXaq4OagtSHnZI
@justinstolpe4 жыл бұрын
This is possible with the Insights endpoints. I will be making a video for getting Insights with the Instagram Graph API using python.
@andresmonterogamboa14964 жыл бұрын
Hi! Thank u a lot, great video. A question: Is it possible to comment post from other users using Graph API logged as my user?
@justinstolpe4 жыл бұрын
I do not think this is possible.
@tharana2 жыл бұрын
How to get a media object id and others things
@justinstolpe2 жыл бұрын
Check out my playlist on IG Graph API kzbin.info/www/bejne/lX2ZlIajo7WNj5o
@bhagwantv21654 жыл бұрын
@justin Stolpe, is it possible to post a photo with text using Instagram Graph API?
@justinstolpe4 жыл бұрын
It is not possible to do this through the Instagram Graph API
@zidanrafifpratama4 жыл бұрын
How to run the php?
@sandhyagouri7274 Жыл бұрын
Hi your video is very informative. Is it possible to comment and reply to the other person's posts.?
@justinstolpe Жыл бұрын
thanks! you can if you just need the user access token.
@sandhyagouri7274 Жыл бұрын
@@justinstolpe thanks for the reply.. Can we get the user access token of others?
@sandhyagouri7274 Жыл бұрын
My scenario is to comment on other people's posts from my application.
@justinstolpe Жыл бұрын
@@sandhyagouri7274 check out my playlist on the graph api where I go over the various endpoints and things you need kzbin.info/www/bejne/p5ybg3SXrNeenrs
@justinstolpe Жыл бұрын
@@sandhyagouri7274 Then you just need their media id of their post and follow this github.com/jstolpe/instagram-graph-api-php-sdk/wiki/Comments
@tharana2 жыл бұрын
Hi Justin, thanks for this informative video , how to get all Comment and Reply in my instgram account using Graph API
@justinstolpe2 жыл бұрын
You would have to loop over your posts and hit the get comment endpoint until you have all comments and replies for each post. I have a video on this in the playlist for getting posts.
@tharana2 жыл бұрын
@@justinstolpe Thank you so much for your reply, I am doing an API affiliate project at my university So I want to know more about graph API. Can you please tell me how to contact you?
@sudhanshutewari97474 жыл бұрын
is there any fields for getting a total number of share count ??
@justinstolpe4 жыл бұрын
I do not thing you can get that with the API
@JAPDEV3 жыл бұрын
Hi Justin, thanks for this videos, i have a question, i hope you can answered me. I have an instagtram app still without the accepted permissions, but I receive notifications from the webhook with the developer accounts and the following happens: 1º "A" account installs my instagram app 2º In another mediaId of account "B", a random user mentions the account "A" for example "@A Hi!" 3º I can see that the mention comes to the webhook. With the comment_id data. Is it possible to respond to a mention made in account "B" with endpoing POST / v9.0 / {instagram-comment-id}/replies? I see that when it is from a mediaId of account "A" I can reply to any comment, but when trying to respond to a comment made in a mediaId of another account like "B" it throws a bad request error. Does this happen because I am not yet granted the permissions, or is it that it is not possible to respond to a comment made in a post/mediaId from another account? Thanks in advance!
@justinstolpe3 жыл бұрын
Thanks for watching! I am not sure as I have not tired this scenario. I would assume since you don't have the permissions granted this might be the issue. Only way to tell is once you get permissions granted, try out the scenario again, and see what the results are
@DavidDobrikSnapStories Жыл бұрын
Does this still work?
@justinstolpe Жыл бұрын
It should but I more recently created an sdk for it here which might be helpful github.com/jstolpe/instagram-graph-api-php-sdk/wiki
@viniciusjordao60134 жыл бұрын
Hello, your videos are very good. Can you briefly explain to me how I get Likes from the post?
@justinstolpe4 жыл бұрын
Hello! Here is the part in the video where I explain how to get the like_count for each post kzbin.info/www/bejne/qne3o2qqgb19kJY
@gamestechnology71134 жыл бұрын
Can you give me python code of this video please?
@justinstolpe4 жыл бұрын
I have python code for other instagram graph api videos. You can just change out the endpoints and params and they should work. Here is the python code folder on github github.com/jstolpe/blog_code/tree/master/instagram_graph_api/python