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! 🎉🎉
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)
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
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!
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
@@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.
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.
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
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
Amazing Justin. Your stuff is so underrated. 👏👏
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! 🎉🎉
Awesome great job! Glad it helped!
Great job 👏🏻👏🏻👏🏻👏🏻
thanks!
Wow. Thank you very much.
Thanks for the great content, it helped me a lot. Is there a way to post that same media / post to a Facebook page ?
Yeah you can with the Facebook api endpoint for making posts to a page as long as you have the correct permissions.
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)
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
👋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?
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.
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
Yea you need to go through app review to make it live.
Do you have the code examples in the zip somewhere? or do i have to recreate it from the video?
The entire SDK is on GitHub github.com/jstolpe/instagram-graph-api-php-sdk
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!
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
@@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.
Can you post on Instagram without a business account?
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.
There must be some issue with the token so double check your app ids and permissions used when the token was generated.
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.
yeah documentation is bad I will see what I can do!
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?
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
(#12) singular published story API is deprecated for versions v2.4 and higher - Any idea on how to fix this? - Any idea?
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.
Is it possible to post images to facebook pages as well?
yeah the Facebook api should allow for creating posts on a pages wall.
Not supported php8.If you have any packages post media Instagram tell me
I updated the composer to include php8 now.
@@justinstolpe thanks
how to post carousel in instagram with php api ?
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