Instagram Graph API Comment and Reply

  Рет қаралды 13,335

Justin Stolpe

Justin Stolpe

Күн бұрын

Пікірлер: 89
@Not_funny_bro_
@Not_funny_bro_ 7 ай бұрын
This video saved so much of my time, thanks buddy.
@broboredo
@broboredo 4 жыл бұрын
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
@justinstolpe
@justinstolpe 4 жыл бұрын
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_ags
@richard_ags 3 жыл бұрын
If you need a REST API make it by your self lol
@broboredo
@broboredo 3 жыл бұрын
@@richard_ags ?
@caninan652
@caninan652 2 ай бұрын
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?
@TheLifeofKB
@TheLifeofKB 4 жыл бұрын
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?
@justinstolpe
@justinstolpe 4 жыл бұрын
I have a playlist for the Instagram Graph API kzbin.info/aero/PL0glhsZ01I-BAFwPmQBWMNqUDnkSlOR6r
@RTTECHFORCE
@RTTECHFORCE 4 жыл бұрын
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
@justinstolpe
@justinstolpe 4 жыл бұрын
At this time it is not possible. That feature is under a closed beta and they are not taking applicants.
@RTTECHFORCE
@RTTECHFORCE 4 жыл бұрын
@@justinstolpe alright thanks
@clearthinking5441
@clearthinking5441 6 ай бұрын
does this work on Live streams?
@thomasl7932
@thomasl7932 2 жыл бұрын
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.
@justinstolpe
@justinstolpe 2 жыл бұрын
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.
@ibexy
@ibexy 3 жыл бұрын
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?
@justinstolpe
@justinstolpe 3 жыл бұрын
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.
@ibexy
@ibexy 3 жыл бұрын
@@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.
@akshayshrivastav966
@akshayshrivastav966 4 жыл бұрын
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?
@justinstolpe
@justinstolpe 4 жыл бұрын
Unfortunately, this is not possible right now because the API for posting content is in a closed beta.
@akshayshrivastav966
@akshayshrivastav966 4 жыл бұрын
@@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
@justinstolpe
@justinstolpe 3 жыл бұрын
@@akshayshrivastav966 Publishing Content with the Instagram API is now possible! Here is how to do it -> kzbin.info/www/bejne/Z52uq6hpirt9qdE
@usama9384
@usama9384 4 жыл бұрын
the manage_pages permission is giving an error. Is there a change in permissions by fb?
@justinstolpe
@justinstolpe 4 жыл бұрын
Yeah they released permissions that replace the manage_pages developers.facebook.com/docs/permissions/reference/manage_pages/
@usama9384
@usama9384 4 жыл бұрын
@@justinstolpe ok thanks for the help . And all the videos!
@stefanosgiannakis7151
@stefanosgiannakis7151 4 жыл бұрын
Keep up this great work !!!
@aakashbajaj5285
@aakashbajaj5285 4 жыл бұрын
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!
@justinstolpe
@justinstolpe 4 жыл бұрын
I have a video for it in my graph api playlist kzbin.info/www/bejne/g2ipfqGBbsagack
@richard_ags
@richard_ags 3 жыл бұрын
Great!
@tharana
@tharana 2 жыл бұрын
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?
@justinstolpe
@justinstolpe 2 жыл бұрын
I believe for FB it is possible. I have not used google API for youtube but would think that would be possible as well.
@pratikziman9097
@pratikziman9097 4 жыл бұрын
Api commet and use for detecting using Machine learning and python
@jindev4901
@jindev4901 4 жыл бұрын
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?
@justinstolpe
@justinstolpe 4 жыл бұрын
Posting is currently in a closed beta. However, you can post comments and replies.
@jindev4901
@jindev4901 4 жыл бұрын
so,is there anyway to post text,photo,hastag and link using api?
@justinstolpe
@justinstolpe 4 жыл бұрын
@@jindev4901 I don't thing so at this point
@jindev4901
@jindev4901 4 жыл бұрын
@@justinstolpe Thanks
@visheshaylani295
@visheshaylani295 4 жыл бұрын
Hello Justin, Thanks for a video. Can you please make a video of extract comments and its replies of public accounts in python?
@justinstolpe
@justinstolpe 4 жыл бұрын
In order to extract these, the user would need to authorize your app so you have access to pull their posts/comments/replies.
@zedkrimo
@zedkrimo 3 жыл бұрын
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 ?
@justinstolpe
@justinstolpe 3 жыл бұрын
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"
@zedkrimo
@zedkrimo 3 жыл бұрын
@@justinstolpe I have only my page , so i can make 200 reply every 1 hour ?
@justinstolpe
@justinstolpe 3 жыл бұрын
@@zedkrimo yeah you should be able
@zedkrimo
@zedkrimo 3 жыл бұрын
@@justinstolpe Thbk u bro ❤
@HitendraKhadtare
@HitendraKhadtare Жыл бұрын
how we can "like comment of instagram" using graph api
@joedelorimier4454
@joedelorimier4454 4 жыл бұрын
Is there any way you could demo accessing another instagram user's data? What does that permission process look like?
@joedelorimier4454
@joedelorimier4454 4 жыл бұрын
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
@justinstolpe
@justinstolpe 4 жыл бұрын
Here is what the permission process would look like kzbin.info/www/bejne/iIXaq4OagtSHnZI
@justinstolpe
@justinstolpe 4 жыл бұрын
This is possible with the Insights endpoints. I will be making a video for getting Insights with the Instagram Graph API using python.
@andresmonterogamboa1496
@andresmonterogamboa1496 4 жыл бұрын
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?
@justinstolpe
@justinstolpe 4 жыл бұрын
I do not think this is possible.
@tharana
@tharana 2 жыл бұрын
How to get a media object id and others things
@justinstolpe
@justinstolpe 2 жыл бұрын
Check out my playlist on IG Graph API kzbin.info/www/bejne/lX2ZlIajo7WNj5o
@bhagwantv2165
@bhagwantv2165 4 жыл бұрын
@justin Stolpe, is it possible to post a photo with text using Instagram Graph API?
@justinstolpe
@justinstolpe 4 жыл бұрын
It is not possible to do this through the Instagram Graph API
@zidanrafifpratama
@zidanrafifpratama 4 жыл бұрын
How to run the php?
@sandhyagouri7274
@sandhyagouri7274 Жыл бұрын
Hi your video is very informative. Is it possible to comment and reply to the other person's posts.?
@justinstolpe
@justinstolpe Жыл бұрын
thanks! you can if you just need the user access token.
@sandhyagouri7274
@sandhyagouri7274 Жыл бұрын
@@justinstolpe thanks for the reply.. Can we get the user access token of others?
@sandhyagouri7274
@sandhyagouri7274 Жыл бұрын
My scenario is to comment on other people's posts from my application.
@justinstolpe
@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
@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
@tharana
@tharana 2 жыл бұрын
Hi Justin, thanks for this informative video , how to get all Comment and Reply in my instgram account using Graph API
@justinstolpe
@justinstolpe 2 жыл бұрын
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.
@tharana
@tharana 2 жыл бұрын
@@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?
@sudhanshutewari9747
@sudhanshutewari9747 4 жыл бұрын
is there any fields for getting a total number of share count ??
@justinstolpe
@justinstolpe 4 жыл бұрын
I do not thing you can get that with the API
@JAPDEV
@JAPDEV 3 жыл бұрын
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!
@justinstolpe
@justinstolpe 3 жыл бұрын
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
@DavidDobrikSnapStories Жыл бұрын
Does this still work?
@justinstolpe
@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
@viniciusjordao6013
@viniciusjordao6013 4 жыл бұрын
Hello, your videos are very good. Can you briefly explain to me how I get Likes from the post?
@justinstolpe
@justinstolpe 4 жыл бұрын
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
@gamestechnology7113
@gamestechnology7113 4 жыл бұрын
Can you give me python code of this video please?
@justinstolpe
@justinstolpe 4 жыл бұрын
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
5 Star Rating with PHP, MySQL, and JavaScript Part 2
15:24
Justin Stolpe
Рет қаралды 1,9 М.
I beat rigged giveaways with a bot
3:43
Kian Brose
Рет қаралды 2,3 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,5 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 49 МЛН
Instagram User Profile using Instagram Graph API
8:23
Crintive
Рет қаралды 48 М.
Instagram Graph API Webhooks
15:33
Justin Stolpe
Рет қаралды 15 М.
Access Tokens | Instagram Graph API PHP SDK
6:47
Justin Stolpe
Рет қаралды 7 М.
Instagram Graph API Hashtag Search
14:55
Justin Stolpe
Рет қаралды 17 М.
Get started with the Messenger API for Instagram
7:32
Meta Developers
Рет қаралды 37 М.
Facebook Graph API Explorer Tool Overview
8:06
Justin Stolpe
Рет қаралды 13 М.
Facebook Graph API | Instagram Graph API | Setup Tutorial
9:10
FuturMinds
Рет қаралды 19 М.
How to Post Stories on Instagram | Instagram Graph API PHP SDK
10:01
Instagram Graph API Access Tokens with Python
15:31
Justin Stolpe
Рет қаралды 38 М.