This is super valuable, thank you! Do you know if advanced app access is necessary for this process? I surmise it isnt since we are posting to our own instagram account? It also seems like they've disabled our ability to create test users, is there a way to proceed without creating a test user?
So the answer is a) we dont need advanced app access to post to our own insta account and b) creating a test user through developers page is currently disabled but it can still be done by creating an account and then adding that account as a tester Role. You'll have to confirm this in developer suite while logged in as the test user to accept test invitation.
Hi Justin, could you please show me how you set up the Facebook app with localhost development? I always get this error (getAccessTokenFromCode) OAuthException (191) -> you should register your domain on your app domain
Hi Justin, I have a question. My profile is business, but I don't have a website that contains such privacy policies and to request permissions like instagram_content_publish and the like that are necessary, it doesn't let me make the request for authorization to use the application. The only way to use it is by creating a website with a privacy policy?
@@justinstolpe The most interesting thing is that many people only have the Instagram profile as their company, without websites, like mine for example, which I do a daily publication and I wanted to automate it, but I will archive this project for now, thank you!
@@fredericomattos yeah it can be annoying. There are workaround if you can't host it like free privacy policy generators, place on google docs, and more. I have seen many blog posts on how to deal with it so I would not let the privacy policy link hold you up :)
@@justinstolpe I just did this, I added it via Google Docs, but now it's asking me to provide access to the app for the employee to review and approve the use of the products that are needed to make the post. Now it's really impossible, because I don't have an application, just a simple code to publish the images. I'll need to look patiently at how to get around this! Haha
Hi Justin, would love to use your SDK too (great work) but I stumble into a 'Unsupported post request. Object with ID xxx does not exist, cannot be loaded due to missing permissions, or does not support this operation' error when trying to do a media post. I've created an App with App-Type 'Business' (no oAuth-configuration) and I use the user_id and fresh generated Access token with all permissions from Graph Api Explorer - shouldn't that work too? Best, Ralph
Hello again, I would like to send you a video lesson request that I believe would be interesting in your portfolio here in your channel about the Instagram Graph API, what better place to send you the idea?
Hello, Excellent content, I have a question, I tested and it worked publishing in my account that is linked to my developer APP. However when I try to access another account even with the Access Token, it is returning: NULL, when I try to get the user's pages. My question is: How can I on the pages of users who do not have a Developer account. Only with the Access Token. Just like Canva does with their users. Please, can you help me?
Hey Justin, thanks for this amazing SDK! How can i extend the token expiration date? Or do i have to repeat the authentication process every 60 Days? Greetings!
You used a Facebook Test User in your video instead of using an administrator account. How can I get insights or medias using that user? This kind of account can't be linked to Instagram and you need to have a business or content creator account to do so, right? I'm still stucked on the "Sorry, something went wrong." error. Thank you s much! Your videos are great!
@@justinstolpe I solved the issue. We need to create a business type app in order to get some permissions. Unfortunately, we cannot change the app type. So, we need to create a new one with the correct type. If the app is not a business app the permissions (instagram_basic, etc.) don't even are listed in the Graph API explorer and we can't use any of your scripts. Your videos saved my project! Thank you!
I have a problem when I login this message appears 'It appears that this app is not available' I have activated the application mode. and also I use facebook login for business. anyone know where the problem is?
Hi Justin, can you please make a video to get user follows/followers and search media of them? I think it's not possible with API... So, how can I do it? Thanks!!
if you mean a test user, you can create a test user in the facebook app, login as them and then authorize the app. That would give you an access token for a test user.
Men, you are genius! Thanks for your hardwork!
Bless you Jesus Christ!
Absolutely awesome intro!
Nice. Thanks a lot!
This is super valuable, thank you!
Do you know if advanced app access is necessary for this process? I surmise it isnt since we are posting to our own instagram account? It also seems like they've disabled our ability to create test users, is there a way to proceed without creating a test user?
So the answer is a) we dont need advanced app access to post to our own insta account and b) creating a test user through developers page is currently disabled but it can still be done by creating an account and then adding that account as a tester Role. You'll have to confirm this in developer suite while logged in as the test user to accept test invitation.
Hi Justin, could you please show me how you set up the Facebook app with localhost development? I always get this error (getAccessTokenFromCode)
OAuthException (191) -> you should register your domain on your app domain
Hi Justin, I have a question. My profile is business, but I don't have a website that contains such privacy policies and to request permissions like instagram_content_publish and the like that are necessary, it doesn't let me make the request for authorization to use the application. The only way to use it is by creating a website with a privacy policy?
Yeah Facebook does require that the apps have a privacy policy.
@@justinstolpe The most interesting thing is that many people only have the Instagram profile as their company, without websites, like mine for example, which I do a daily publication and I wanted to automate it, but I will archive this project for now, thank you!
@@fredericomattos yeah it can be annoying. There are workaround if you can't host it like free privacy policy generators, place on google docs, and more. I have seen many blog posts on how to deal with it so I would not let the privacy policy link hold you up :)
@@justinstolpe I just did this, I added it via Google Docs, but now it's asking me to provide access to the app for the employee to review and approve the use of the products that are needed to make the post. Now it's really impossible, because I don't have an application, just a simple code to publish the images. I'll need to look patiently at how to get around this! Haha
Hi Justin,
would love to use your SDK too (great work) but I stumble into a 'Unsupported post request. Object with ID xxx does not exist, cannot be loaded due to missing permissions, or does not support this operation' error when trying to do a media post. I've created an App with App-Type 'Business' (no oAuth-configuration) and I use the user_id and fresh generated Access token with all permissions from Graph Api Explorer - shouldn't that work too?
Best,
Ralph
Yeah that should work, sounds like you are trying to query with and ID though that does not exist. Double check ids and permissions are correct.
Hey @@justinstolpe, thanks for your reply. It turned out that it was due to using the FB userid and not the IG userid :)
It isn't displaying the URL when I put the code in. I noticed you are on a line in the hundreds, is there more code I needed to include?
You just have to make sure you are including the autoloader so the sdk gets loaded along with setting app token and ids farther up in the code.
Hello again, I would like to send you a video lesson request that I believe would be interesting in your portfolio here in your channel about the Instagram Graph API, what better place to send you the idea?
dm me on instagram
Hello, Excellent content,
I have a question,
I tested and it worked publishing in my account that is linked to my developer APP.
However when I try to access another account even with the Access Token, it is returning: NULL, when I try to get the user's pages.
My question is: How can I on the pages of users who do not have a Developer account. Only with the Access Token.
Just like Canva does with their users.
Please, can you help me?
You need to have your app in live mode and those users need to authorize with your app so you can get an access token for the user.
@@justinstolpe thank you, i achievied greeting from Brazil
Hey Justin,
thanks for this amazing SDK!
How can i extend the token expiration date?
Or do i have to repeat the authentication process every 60 Days?
Greetings!
Thanks! if the token is active it should not expire unless it is inactive for 60 days which at that time you would need to re authenticate
You used a Facebook Test User in your video instead of using an administrator account.
How can I get insights or medias using that user? This kind of account can't be linked to Instagram and you need to have a business or content creator account to do so, right?
I'm still stucked on the "Sorry, something went wrong." error.
Thank you s much! Your videos are great!
Thanks! The user does need to be a business account and admin on a facebook page in order to use the Instagram Graph API.
@@justinstolpe I solved the issue. We need to create a business type app in order to get some permissions. Unfortunately, we cannot change the app type. So, we need to create a new one with the correct type. If the app is not a business app the permissions (instagram_basic, etc.) don't even are listed in the Graph API explorer and we can't use any of your scripts.
Your videos saved my project! Thank you!
please justin when i click on login to facebook it says something went wrong error why?@@justinstolpe
they madfe it so overly comlicated. but great video Justin
I have a problem
when I login this message appears
'It appears that this app is not available'
I have activated the application mode. and also I use facebook login for business. anyone know where the problem is?
Sounds like something is not connected quite right. Maybe double check app id, token, permissions.
How can I get an access token if the user doesn't have a FB account..?
For the instagram graph api the user needs an account because they need to ues the Facebook login dialog.
Hi Justin, can you please make a video to get user follows/followers and search media of them?
I think it's not possible with API... So, how can I do it?
Thanks!!
The api only allows you to get follows/followers counts and not a list so unfortunately we can't do this.
How to get DevAccessToken???
if you mean a test user, you can create a test user in the facebook app, login as them and then authorize the app. That would give you an access token for a test user.
Comedy