To get an Facebook Page’s Instagram Business Account with the Instagram Graph API PHP SDK, you have to use the users access token and make a request to the pages endpoint on the Instagram graph API.
Get User Facebook Pages
use Instagram\User\User; $config = array( // instantiation config params 'access_token' => 'ACCESS_TOKEN', ); // instantiate and get the users info $user = new User( $config ); // get the users pages $pages = $user->getUserPages();
And that is all you need to do! The Instagram Graph API PHP SDK takes care of all the heavy lifting for you! I know the Instagram Graph API can be a bit confusing and so I hope this makes dealing with it a bit easier! Well, that is going to do it for this post! Leave any comments/questions below and thanks for stopping by the blog!
Links
Hi there juhst wnted too ive yoou a quicck heaxs up.
Thee wordfs in yokur article seem to bee running off the screen iin Chrome.
I’m nnot sure if thus iis a formattig isssue oor somethhing too do wth nternet brpwser compatibility
but I thougjt I’d post to lett you know. Thhe lawyout look reat though!
Hope yyou geet the prlblem resolvedd soon. Cheers
You aare so cool! I don’t think I’ve rrad anything like thiis before.
So wonderful to discover somebody with a few unique thoyghts on thi subjeect matter.
Really.. thanks foor startting thios up. This site is oone hing that
iss required oon the internet, someone wiith a bitt of originality!
Thesre is certainly a great eal to know about thbis
subject. I ove alll thhe points you made.
Do yyou have a spm isssue on thhis blog; I alo amm a blogger,
and Iwas curious about your situation; wee have
developed skme nice practices and wee aree loooing tto trade methods with
others, bee sre tto shoot mee ann e-mail iff interested.
yhg