Hi, if you by any chance see this comment, please help me as I'm really out of wits. T__T I've no idea why the request is returning empty data. Have made sure my ig business account has an admin access and other things but still couldn't solve them. Thanks for all your wonderful tutorials btw, learned a lot from you!
Very good tutorials. The descriptions that Facebook has for permissions is confusing and seems to change. I couldn't get any data back until I added the "pages_show_list" permissions to my Access Token.
Man, you've become immortal by providing all these tutorials. For a beginner looks like Instagram doesn't want people to work with their API as they do not provide clear documentation or links to the documentation pages at least. Thank you!
Justin, first of all congratulations for teaching and passing on your knowledge, I am very grateful to you. I need a little help, when I run the program get_user_pages.py the error returned is (Traceback (most recent call last): File "get_user_pages.py", line 29, in print (response['json_data']['data'][0]['id']) # display id KeyError: 'data') I've already validated token, app id, secrets id and that's correct. when running the get_long_lived__access_token and debug_access__token.py scripts, any suggestions. I already tested the program with another insta account and was successful, I don't know what to do anymore. Thank you Fernandes Brazil
If it works with another account there might be an issue with credentials, also try dumping out the raw response and see if you get any errors right from the api
Thanks for this amazing series! I want through the access token (and longlived token) but I'm not getting any page id while querying "me?accounts" the response returns empty for some reason. The app is connected to a FB page... Do I need to publish the app or verified business account? There is no "manage_pages" permissions now in V18 , there is pages_show_list but it doesnt help. Thanks
Thanks for watching! and yeah manage_pages has been replace with new ones here are the docs for the update developers.facebook.com/docs/graph-api/changelog/version7.0/developers.facebook.com/docs/graph-api/changelog/version7.0/
Thank you again! You saved my day! I did not expect such a detour to get a ins user id... That is just weird... PS: I added "pages_show_list" and "business_management" permissions to make it finally work.
What is the difference between the facebook-graph-api and the instagram-graph-api? You say you use the instagram Graph API but the url is graph.facebook.. ?
yeah FB/IG api can be confusing. You need the user to authenticate with your faebook app that has the IG permissions granted to get the user access token. Then you can use that user access token to make calls to the instagram graph api. You are correct though that the instagram graph api endpoint is graph.facebook.com which can be confusing.
hey justin, quick question so i noticed the base endpoint is graph.facebook, why not use graph.instagram and if i have access token for graph.facebook can i use it for graph.instagram as well?
Hey Justin, Sorry if this is a stupid question but where do you get the API endpoint text that you start off your functions with? At the moment so far I've just copy pasted your text for my scripts but I want to do different things now. I'm sure I'm being stupid but you say you copy it from facebook and I can't find it anywhere??
Hi great video Justin I was using the Facebook graph API and came up with the inability of getting the friends of the user i am testing. I'm trying to say is, that it gives me the total amount of the friends but not the actual friend list, so if you have any solution to that let me know, great channel BTW ill definitely subscribe! cheers
Thanks! Right now the Instagram Graph API only allows for getting the followers count. In the old API you used to be able to get the actual list but with the newer version they have removed this ability :( I am hoping the new API at some point will have this ability!
How Can get the profile details of Instagram ?, and how to post the message or photos on my Instagram account ? how to get the total number of likes ,comments,and shares ?
@@justinstolpe means that account data which i fetching records if they give me permission to my app then i will do this otherwise i will not ??? so that means others person which has IG account so why will he give me access to my app ?? can you please make of video of them if possible please justin