What if I want to get metadata for current IG id not knowing the username?
@yesman40053 жыл бұрын
hello sir, on 4.34 when I try to print out the array, I get [message] => (#10) permission denied. it leads me to this error handling page developers.facebook.com/docs/graph-api/using-graph-api/error-handling. if not mistaken I will need to do an app review, is there a way to do it without going through an app review? thank you! :)
@justinstolpe3 жыл бұрын
You can do it without an app review is your application is in development mode. For live mode, it needs to go through the review process.
@yesman40053 жыл бұрын
@@justinstolpe hello, I have found my solution by taking away the business_discovery, instead i am using fields=biography,id,username,website&access_token= and so on. thank you again for your kind reply!! :D
@PinakMehta-d3n5 ай бұрын
Hey Justin, Can you please share video how to get access of instagram_basic. As, when I passed instagram_basic in scope of login URL it give me error like invalid scope
@ilFusta3 жыл бұрын
Thank you for this great series about Instagram Graph API! I just didn't get if keeping my ig-user-id and just changing the ig-username in the call I can get for example the media of any account that is Creator/Business and not private. Let's say I need to show a list of creators with their followers count and the last media uploaded. Is it possible with this call or do every single Creators allow my app to get theirs data?
@justinstolpe3 жыл бұрын
It is if they authorize your app and you get a user access token for each of them. Then you can get their data from IG API.
@franciscopatrito44213 ай бұрын
Is it possible to filter ig_ids bassed on specific values of their metadata?
@justinstolpe3 ай бұрын
Not sure on this one, would have to do some more research
@VictorHernandez-nz2rs4 жыл бұрын
man this srtirs is sooo useful!!!
@antoniskup20984 жыл бұрын
Hello Justin! Have you managed to find time to record the part 2 of star rating video? Cheers
@justinstolpe4 жыл бұрын
Yeah should be up today sometime!
@justinstolpe4 жыл бұрын
Video is up -> kzbin.info/www/bejne/q2XZgWt7a7ucrLs
@antoniskup20984 жыл бұрын
@@justinstolpe Thank you!!
@anonimanonim12763 жыл бұрын
hello i got an error, here is the message (#10) Application does not have permission for this action, can you help me?
@justinstolpe3 жыл бұрын
That error is telling you that you don't have the correct permissions. Make sure you requested the correct permissions when you generated the access token.
@bkim2210 Жыл бұрын
How can you use this to get Facebook metadata
@tugrulyldrm56993 жыл бұрын
hello, [message] => (#10) permission denied [type] => OAuthException [code] => 10 [fbtrace_id] => AYdeYax_IwnjPAfpblubc4g this is what i see on business_discovery page. All other pages works well but this page doesn't work. Any idea ? Thx
@justinstolpe3 жыл бұрын
Maybe you have not requested all the correct permissions in your app
@tugrulyldrm56993 жыл бұрын
@@justinstolpe I think facebook change something, I guess I need to verify my business first and than I need to request api which I need
@blastoff44163 жыл бұрын
Hey Justin, when I try to get ig information I got an error "(#100) Tried accessing nonexisting field (business_discovery) on node type (Page)" do you have any idea of how to solve it
@justinstolpe3 жыл бұрын
Make sure your user is the admin for a facebook page.
@alex7413213 жыл бұрын
Thanks for your video. But I have a question: Do people need to have a Facebook acc, Fb page, insta business profile to access their instagram data via the api? Because it would not be very convenient. What video would you suggest I follow to get the same json as the one you get from www.insta... .com/username/?__a=1 Official way
@ArpitSingla373 жыл бұрын
Hey Justin really great video, But I still have one question. How can we get information that is usernames of all the people that our user is following and followers as well?
@justinstolpe3 жыл бұрын
Thanks! There is no endpoint for getting the list of followers. You can only get the count of followers.
@ArpitSingla373 жыл бұрын
@@justinstolpe Thanks Justin. I had one more question, I am working on a project wherein I need to implement a sign up and login system. The system should allow the students to sign up using their college email account through there college secure portal and allow them to login through the same. But I don't know how to implement it. Is there anyway you can help me?
@justinstolpe3 жыл бұрын
@@ArpitSingla37 I have a tutorial for signup and login in my playlist here kzbin.info/www/bejne/ZmjRY2WDpbKVo7M
@alistairYGO4 жыл бұрын
Hello, first, thank you for your work. Well, i'm having difficulty when i try to access the app's business discovery, the error that returned is [message] => (#10) Application does not have permission for this action [type] => OAuthException [code] => 10 [fbtrace_id] => AjKRJJv2DsL11J_UupvSoih in case you can help me, i will be grateful .
@justinstolpe4 жыл бұрын
Looks like your access token does not have the correct permissions. When requesting an access token make sure you request these permissions public_profile, instagram_basic, pages_show_list, instagram_manage_insights. Here is my access token video kzbin.info/www/bejne/mnanfIKZhdqLorc
@danieladi56684 жыл бұрын
@@justinstolpe doesnt solve it, any idea ? i copy it from github
@danieladi56684 жыл бұрын
my bad solve it, great video btw
@sumanmandal84792 жыл бұрын
@@justinstolpe Savior !!! In your previous video of "How to get Access Token (3rd video in the playlist)", you didn't mention "instagram_manage_insight" permission, and hence "Application does not have permission for this action" was coming (still in 2022). So please update the 3rd video (mention in some text inside the video) and write down that "instagram_manage_insight" is also required. That will help lots of users
@Thepokerfanboy4 жыл бұрын
Thank you for the videos. These are very helpful. I am building a no-code bubble app. And I am trying to list a users followers (not count) and people they follow but don't follow them back. I can't find the correct API call for that.
@justinstolpe4 жыл бұрын
The Instagram Graph API only allows you to get the followers count, not the list of the actual followers.
@sureshkumarimmadisetty68224 жыл бұрын
Hi Justin, Thanks for the video, Can you make a video on, what is the difference between hashtags and @Mentions, And how to fetch all instagram users based on search string provided, Thanks in Advance!
@justinstolpe4 жыл бұрын
Will see what I can do
@testball2443 жыл бұрын
@@justinstolpe it is possible, do you do it ?
@SumitGupta-cq3hc4 жыл бұрын
Hello Justin, great work!!, one issue I am having is how can I get username without using username as in my case it needs to be dynamic so to call this api need to get username somehow. Can you help. Thanks in advance.
@SumitGupta-cq3hc4 жыл бұрын
Got it, anybody still looking for this, you can find details about same in developers.facebook.com/docs/instagram-api/reference/user
@datboi1861 Жыл бұрын
@@SumitGupta-cq3hc Thank you so much bro. You saved my life.
@0wzZZzz64 жыл бұрын
is it possible to get the user's metadata when the account was personal?
@justinstolpe4 жыл бұрын
No, the Instagram Graph API only allows access if the account is set to business or creator
@0wzZZzz64 жыл бұрын
@@justinstolpe i want to get the followers count of a user, this field was available in the graph api only right?
@justinstolpe4 жыл бұрын
@@0wzZZzz6 Yeah only in the Graph API
@renata.miranda3 жыл бұрын
Justin, do I need permission from the Instagram owner to get the metadata?
@justinstolpe3 жыл бұрын
Yeah, you need to get and access token so you can make the request
@renata.miranda3 жыл бұрын
@@justinstolpe I would like to know just the precise number of followers of some accounts (celebrities who are participating in a reality show here in Brazil), would it be possible?
@justinstolpe3 жыл бұрын
@@renata.miranda You can, as long as the profile is type business and not private. Just change the username in my code to whatever IG username you want to grab.
@renata.miranda3 жыл бұрын
@@justinstolpe Thank you! I will try it :)
@МихайлоКіряков4 жыл бұрын
Interesting video. How about notifications about new follower (or new direct message) and when get information about him? As I now where is not such webhook event (only new comment), and you can get info only about other professional accounts 😔 But maybe you know some another variants ? For me will be interesting video about webhook of Instagram too)
@justinstolpe4 жыл бұрын
Unfortunatly you are correct. Until they decide to release new API features we are stuck with the limited options for now.
@ZhCrypto2 жыл бұрын
plz instaloader , instagramy also
@markcuello52 жыл бұрын
There are not 51 comments from me. There are Approx 5or6. Signed: Mark Cuello [`m`].
@miss_tech3 жыл бұрын
So complicated
@justinstolpe3 жыл бұрын
Yeah the sure make it easy 🤣
@tugrulyldrm56993 жыл бұрын
Hello, I really like your videos, I also tried to create with you, everything was same but it didn't work. Do they change something ? It gives an error and says -- Unsupported get request. Please read the Graph API documentation at developers.facebook.com/docs/graph-api
@justinstolpe3 жыл бұрын
You might need to update permissions. They deprecated the manage_pages and you need to request six new permissions moving forward developers.facebook.com/docs/pages/overview/permissions-features