Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Someone knows how Instagram API works?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Someone knows how Instagram API works?

WHTWHT Member
edited February 2017 in Help

Am trying to get only the profile picture fro instagram. Am getting the Facebook profile picture without a problem with this method:

!<!img src="https://graph.facebook.com/<?php echo $o->profile_username?>/picture?type=small" class="img-rounded">

Any idea how to do it for Instagram?

I have tried the following:

https://api.instagram.com/oauth/authorize/?client_id=<?php echo $o->profile_username?>&redirect_uri=REDIRECT-URI&response_type=token

But it wont work. I have tried a method with access token but its not a solution as Instagram asks first the user to approve it and am getting this error:

{"meta": {"error_message": "This client has not been approved to access this resource.", "error_type": "OAuthPermissionsException", "code": 400}}

Thank you!!!

Comments

Sign In or Register to comment.