How to Post Images on Instagram | Instagram Graph API PHP SDK

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

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

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

    Amazing Justin. Your stuff is so underrated. 👏👏

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

    Thank you very much for posting this series. It really helps a lot! Still need to do all videos but I am excited that I was able to post my first image! 🎉🎉

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

      Awesome great job! Glad it helped!

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

    Great job 👏🏻👏🏻👏🏻👏🏻

  • @vupler
    @vupler 7 месяцев назад +1

    Wow. Thank you very much.

  • @guyteub
    @guyteub 7 месяцев назад +1

    Thanks for the great content, it helped me a lot. Is there a way to post that same media / post to a Facebook page ?

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

      Yeah you can with the Facebook api endpoint for making posts to a page as long as you have the correct permissions.

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

    Err, I might try this however, what about the ball-ache to setup your instagram account in the first place? I been driven through business accounts, ad manager accounts and PPA or so, just to find the right credentials and still, no luck. Is there any magic I need to do on the developer account website (cause its a mess there)

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

    This is good video... But i have something... Can you make a video on how to tag the Instagram users im following using the pho sdk and Instagram graph API so that their followers can see the post

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

    👋Justin, what method would you use to schedule the publishing of a post for later? For example, post at 7am PST, but set it up a few days prior?

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

      You would need to code up the scheduler and cron job to handle the scheduling of posts. The api does not have the ability or method to schedule posts.

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

    Dear Justin, do we need to verify the app and make de business validation? I got errors when I try to publish using the graph api

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

      Yea you need to go through app review to make it live.

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

    Do you have the code examples in the zip somewhere? or do i have to recreate it from the video?

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

      The entire SDK is on GitHub github.com/jstolpe/instagram-graph-api-php-sdk

  • @WillianMeloMachado
    @WillianMeloMachado 10 месяцев назад

    Hi! This is a great work! Can you help me with something, please? I am getting the following error when trying to create the container > "Unsupported post request. Object with ID '***' does not exist, cannot be loaded due to missing permissions, or does not support this operation."
    Also I have a doubt... what if the user owns more IG profiles and wants to publish a post in an specific profile? How do I get the correct IG user_id for this? Thanks man!

    • @justinstolpe
      @justinstolpe  10 месяцев назад +1

      Hey, that error might mean you are not waiting long enough before posting the container because it can take some time for it to process on IG side. Or, maybe the ID you are specifying is incorrect so double check. If you want to post to a different account you just need a different access token. Check out my playlist here ruclips.net/video/qk8RAawrkhY/видео.html

    • @WillianMeloMachado
      @WillianMeloMachado 10 месяцев назад

      ​@@justinstolpe Hi Justin, thank you for replying. Actually this error occurs when I try to create the container, before publishing the image to it. Authenticating with IG, retrieving de token and user id went smooth. But I had to use my own User ID, since Facebook is not allowing to create test users anymore.

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

    Can you post on Instagram without a business account?

  • @short-ingen
    @short-ingen Год назад

    Hello, I am getting the error "Invalid OAuth access token - Cannot parse access token" even though my user information is correct. How can I fix this.

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

      There must be some issue with the token so double check your app ids and permissions used when the token was generated.

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

    Can you please do a video to run ads with the facebook business API PHP SDK. Their documentation just doesn't cut it. I've been trying for a while. Would really appreciate it.

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

      yeah documentation is bad I will see what I can do!

  • @ShobhitTiwari-p9b
    @ShobhitTiwari-p9b Год назад

    I am getting this error : Object with ID does not exist, cannot be loaded due to missing permissions, or does not support this operation. What to do?

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

      You probably tried to post before it was ready. You need to poll the container id to make sure it exists and and has a status of finished before publishing it. You can use this to get the container status github.com/jstolpe/instagram-graph-api-php-sdk/wiki/IG-Container

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

    (#12) singular published story API is deprecated for versions v2.4 and higher - Any idea on how to fix this? - Any idea?

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

      Check the ids you are using. Sometimes that error will show up when the real issue is the ids and tokens you are using might not be correct.

  • @RobinSöderlund-f8s
    @RobinSöderlund-f8s 10 месяцев назад

    Is it possible to post images to facebook pages as well?

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

      yeah the Facebook api should allow for creating posts on a pages wall.

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

    Not supported php8.If you have any packages post media Instagram tell me

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

      I updated the composer to include php8 now.

    • @codingtech3446
      @codingtech3446 2 года назад +2

      @@justinstolpe thanks

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

    how to post carousel in instagram with php api ?

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

      You need to create a container for each carousel item and pass them along as children. I am working on a video for it but here is the documentation github.com/jstolpe/instagram-graph-api-php-sdk/wiki/IG-User-Media#creating-a-carousel-ig-container