Instagram Graph API Webhooks

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 73

  • @ronaro1
    @ronaro1 4 года назад +1

    Pioneer on YT

  • @danieladi5668
    @danieladi5668 4 года назад +2

    great video bro

  • @pandagun00
    @pandagun00 9 месяцев назад

    Thank you for your help. It is great. It is most helpful.

  • @さい-f7x
    @さい-f7x 2 года назад +1

    nice

  • @aqiilnandapratama2816
    @aqiilnandapratama2816 21 день назад

    hai sorry for bother you, can i asking about how to build a automatic bot comment in instagram for my business account with api instagram? how much is it? 🙏🏼

  • @5baddi
    @5baddi 4 года назад +1

    Helpful contents, Can you please explain how to post to Instagram using graph API? Thank you very much

    • @justinstolpe
      @justinstolpe  4 года назад +1

      Thanks! Currently the API for posting is in a closed beta. When it opens up I will make a video on it.

    • @justinstolpe
      @justinstolpe  3 года назад +1

      Publishing Content with the Instagram API is now possible! Here is how to do it -> ruclips.net/video/1lKzu3UVJso/видео.html

  • @MrDreamsSeven
    @MrDreamsSeven 3 года назад +1

    Hey Justin, Thanks for the video! I have a question, how can i add more than one instagram account in one application? I need to listen to mentioned posts from more than one account, its possible? Can you help me?

  • @georgegitonga2962
    @georgegitonga2962 4 года назад

    Hello Justin,great tutorial, Quick question, which product should i subscribe to get notified when a user posts e.g a photo on their Instagram Business Account, stuck between product Instagram, User and page

    • @justinstolpe
      @justinstolpe  4 года назад

      Thanks! You need to subscribe to intagram for IG related webhooks

  • @matheuscantos7455
    @matheuscantos7455 3 года назад

    Great video! Is there any definitive way to get the mentions? All my API calls only return unsupported get request... Like, I use mentioned_media.media_id(0000){caption,media,etc} and all I get is the error...

  • @the-web-scraping-guy
    @the-web-scraping-guy 3 года назад

    Thanks for the video. Thankfully the media id is now in the comment response, but, has anyone figured out how to get the owner id of the media id? Insanely frustrating. Cause I can't fetch the post without an access token, but how do I know whose access token I should use??

    • @justinstolpe
      @justinstolpe  3 года назад +1

      Yea it can be frustrating, you need an access token for the user and then you can query their posts and get their id.

    • @the-web-scraping-guy
      @the-web-scraping-guy 3 года назад

      @@justinstolpe Yeah I've resorted to just getting all the users, then fetching their 10 recent posts, if I don't have the media id in my DB. Just concerned about rate limiting obviously. So frustrating cause I wouldn't have to hit their servers if they would just give me the media owner id in the first place 😭

  • @anaamnizami5359
    @anaamnizami5359 4 года назад

    Hi Jutin, really helpful content mate, I have one question though, why we can`t images or media on instagram using api, I have seen many social media tools like buffer and sprout social which lets you post and schedule images and videos, how are they managing that. Thanks.

    • @justinstolpe
      @justinstolpe  4 года назад +1

      Thanks, the graph api documentation does not allow for posting. Those apps might be big enough that they have contacts and or a deal with facebook to allow them to post.

    • @griffblob
      @griffblob 4 года назад

      @@justinstolpe I think you might be right. I've been digging for hours trying to find a way to pull the analytics data from my account and funnel it into google data studio, or tableau. Still no solutions found.

  • @mjvanston
    @mjvanston 8 месяцев назад

    Hi Justin, thank you so much for your great videos! You are clearly an expert in your field. I'm seeking your assistance. I have tried to get to get the webhook for Instagram comments working on my callback script without success. Even redoing my FB app about 5 times!! My last attempt I repeated the exact steps you did in this video with still no luck. My call back script is working fine as the other 'test' functions on the FB webhook page sends the sample JSON over to my server and my script saves it into a log with no issue. It's only when I try to test the comment subscription that it fails - saves nothing. Nothing is being sent over. Missing some type of setup. I am totally confused and need some help. The FB version I tried is V19 and has many more subscriptions available now, so maybe in this newer version there is something extra that needs to be done. Can you please help?

    • @justinstolpe
      @justinstolpe  8 месяцев назад

      thanks! I am not exactly sure but it sounds like a setup issue. Double check permissions and make sure you have everything required for the comments endpoint.

    • @mjvanston
      @mjvanston 8 месяцев назад

      @@justinstolpe in your instructions above you did not set up any permissions to do the comments webhook test. so i was following your exact instructions to see if that solved the problem and didn't. but i do now have permissions set: pages_show_list, instagram_basic, instagram_manage_comments, instagram_manage_messages, pages_read_engagement, pages_manage_metadata, public_profile. so according to the docs it should be fine but it's not. are you able to repeat the process you did above but using the new v19 version to see if you get the same issue? I don't mind paying you for your time. this is so frustrating!

    • @mjvanston
      @mjvanston 8 месяцев назад +1

      Hi Justin, Solved. The app needs to be in live mode for the "test" comments webhook to work! "Test" for messages webhooks works in either mode. Very strange system but after 6 days I finally have it working! Hope this helps anyone else having the same issue

    • @tsonga-absolutest
      @tsonga-absolutest 3 месяца назад

      ​@mjvanston Hello, my name is Sunggat. I have faced the same issue with webhook tests inside Facebook for developers. I am now in development mode and you mentioned that it is necessary to have live mode. However, I can't understand how I should have live mode if I don't have working app. I don't have any tests to verify that my app works.
      What should I do in this situation? I will be very grateful for your response😊

  • @nityagudi4586
    @nityagudi4586 3 года назад

    Hi Justin
    Thanks for the tutorial. Is there a way I can get real time notification on change in follower count,like count,comment count?

    • @justinstolpe
      @justinstolpe  3 года назад

      I don't think you can get updates on counts. You can get notified of a new comment though.

  • @danieladi1991
    @danieladi1991 4 года назад +1

    hello, i try to comment on my instagram account but it give me no return, l comment all the line except your TESTING OF THE WEBHOOKS line ( 4 line ) and yet theres no data on data.log. fyi it works if you test it from facebook developer, "fake" just like your video but fail on real situation. any idea ?

    • @danieladi1991
      @danieladi1991 4 года назад

      ps : i only want to get notification when someone comment on my instagram, try with mention but still doesnt work, thanks ( try live version but still dont work )

    • @justinstolpe
      @justinstolpe  4 года назад

      You need to get put your app in live mode and have facebook review it in order for it to work in real time. Here is the documentation developers.facebook.com/docs/instagram-api/guides/webhooks

    • @danieladi1991
      @danieladi1991 4 года назад +1

      @@justinstolpe great info thanks

  • @haroldbaranquil9551
    @haroldbaranquil9551 4 года назад

    Is the webhook also supports Intagram direct message?

    • @martial5483
      @martial5483 4 года назад

      This is my question too . But I think the answer is no

    • @justinstolpe
      @justinstolpe  4 года назад

      @@martial5483 It does not look like it is supported

  • @alessandrocarnio3003
    @alessandrocarnio3003 4 года назад

    hey justin, great videos, i've already watched them all but i still have a problem that i can't solve ... i would like to create a website where you can connect your instagram account and receive the number of followers, and the profile description, should i use API or other methods? thank you

    • @justinstolpe
      @justinstolpe  4 года назад +1

      The api will work fine for dislaying counts and profile info.

    • @alessandrocarnio3003
      @alessandrocarnio3003 4 года назад

      @@justinstolpe really? and which enpoint should I use to find followers? I can't find the right system

    • @justinstolpe
      @justinstolpe  4 года назад

      @@alessandrocarnio3003 There is no way to get a list of followers, only the follower count in the profile details. Check out my playlist on my channel for instagram graph api

  • @cuongocao3799
    @cuongocao3799 4 года назад

    Thanks for your video. I have a question.
    How can I subscribe to webhook API after settings app? I try to using edge {$pageID}/subscribed_apps?subscribed_fields=mentions but getting error response. subscribed_fields not correct?

    • @sudheerm4403
      @sudheerm4403 3 года назад

      Hi, were you able to solve the problem? I'm also facing same issue. Please do provide a solution. Thank you.

    • @kumareshiyyappan5443
      @kumareshiyyappan5443 6 месяцев назад

      @@sudheerm4403 I'm also facing same issue. Please do provide a solution.

  • @odevperovano
    @odevperovano 2 года назад

    Hi, thankyou for the video Justing. I'm stucked in a situation when receiving story_mention notification. I get the story url, but cant find how to get the story's media type. I need to render the story on my app but without knowing if its a video or image its dificult to display it. I appreciate if you could give me some thoughts! Thankyou!

    • @justinstolpe
      @justinstolpe  2 года назад

      thanks for watching, I would think you could request the media type field along with the notification

    • @odevperovano
      @odevperovano 2 года назад

      @@justinstolpe there is no media along with notification😩 only story url. I had deal with this url on front-end! Than you for your reply!

    • @justinstolpe
      @justinstolpe  2 года назад +1

      @@odevperovano If you could maybe try getting the media id for the story then you could hit the media endpoint to get more info on it.

    • @odevperovano
      @odevperovano 2 года назад

      I tried to get this asset_id but it takes me to nowhere

  • @yiningwang6638
    @yiningwang6638 4 года назад

    Hi, Thanks for your video. I have a question that I cannot receive webhooks from instagram since that I cannot install my app. The guide says With Graph API version 3.2, the /{page-id}/subscribed_apps edge now requires the subscribed_fields parameter, which currently does not support Instagram webhooks fields. To get around this, use your app's dashboard to subscribe. However. I cannot find where to subscribe. It should be let someone's page to subscribe some field to receive webhooks

    • @justinstolpe
      @justinstolpe  4 года назад

      Here is where I start the subscribe part of the video ruclips.net/video/82cpdEisqsA/видео.html

  • @simarkapoor4119
    @simarkapoor4119 Год назад

    Is it possible to do the same with reels?

    • @justinstolpe
      @justinstolpe  Год назад

      according to the documentation reels are not supported

  • @frezanugraha6506
    @frezanugraha6506 4 года назад

    hi justin, i have problem. currently i set webhook url to my api, n account istragram connected to my fanspage, but if i comment this account. i dont receive webhook content.

    • @justinstolpe
      @justinstolpe  3 года назад

      hmm not sure...make sure you have activated the webhooks in the application and subscribed to them by verifying the URIs.

  • @muratmert8562
    @muratmert8562 2 года назад

    Hi Justin, thank you for the video. I'm a bit of a novice. I don't know how to find callback_url. How can I easily create this?

    • @justinstolpe
      @justinstolpe  2 года назад

      thanks for watching! callback url is where you put in the url where you want the webhook notifications to be sent

  • @calmingmusic4554
    @calmingmusic4554 4 года назад

    Hi Justin, with the recent facebook changes there is no live mode so we can directly start using webhooks. I followed your tutorial and I am able to get test data. But when i am trying to get live comment data, I don't see any changes happening. Can you please put out a video on getting live comments data.

    • @justinstolpe
      @justinstolpe  4 года назад

      In order to get live data, your app needs to go through the revierw process for permissions and if it gets approved, then you can put it in live mode and start seeing live data

    • @JAPDEV
      @JAPDEV 3 года назад

      @@justinstolpe
      The same thing happens to me, I have sent several times to revision to request the permissions instagram_manage_comments and instagram_manage_insights, but I have had no luck, I don't know how I can pass the revision, I have read that creating a "Mock" of the application that uses these permissions is possible pass the review since the reviewers are aware that you do not have real data, is this true? Any suggestion? I'm going crazy.
      Thanks in advance

    • @justinstolpe
      @justinstolpe  3 года назад

      @@JAPDEV Yeah the review process can be annoying. Make sure you add screencast and descriptions to each of the permissions you request telling FB why and how you will use them. It can be a frustrating process...I have been there before.

  • @AlphaMoviesTV
    @AlphaMoviesTV 4 года назад

    I did try as your video instructions, the verification was ok, but all log files are blank.

    • @justinstolpe
      @justinstolpe  4 года назад

      hmm...maybe verify the correct credentials and application settings

  • @berkansaglam9574
    @berkansaglam9574 9 месяцев назад

    Hello Justin, I'm developing an application with Instagram API, but I'm having trouble with Instagram messages. My Instagram account is linked to a Facebook account and my Instagram account is a professional account. While I can retrieve message IDs from Messenger via Graph API tools, Instagram returns empty data. Can you help me with this issue?

    • @justinstolpe
      @justinstolpe  9 месяцев назад

      I am not sure if you can get DM from IG agi

  • @errajkumar5335
    @errajkumar5335 3 года назад

    Hey buddy I was trying to fetch instagram stories but Facebook documents says you must have a developer account. Which I have. Now the main question is can I fetch stories of normal Facebook too?

    • @justinstolpe
      @justinstolpe  3 года назад

      Here is the docs for getting stories developers.facebook.com/docs/instagram-api/reference/ig-user/stories/ I don't see anything about having to be a developer account.

  • @andikakristianto4951
    @andikakristianto4951 Год назад

    Hello justin is it possible to retrive comment data in another instagram user ?

    • @justinstolpe
      @justinstolpe  Год назад

      yeah but the user needs to be authenticated with your app so you can get a user access token.

  • @lucidlessons5902
    @lucidlessons5902 3 года назад

    it seems like now pushing fb app to live mode has changed to permissions and they ask you to send in a screencast and so many forms

    • @justinstolpe
      @justinstolpe  3 года назад

      Yeah for live mode you have to go throught the app review process for certain permissions.

  • @mjavan9048
    @mjavan9048 4 года назад

    Hi Dear Justin
    I hope You will be fine.
    Can you speak about Live Mode?