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.
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?
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
Why not get them to approve it, and store the token?
https://www.instagram.com/developer/endpoints/users/#get_users_self
You must be approved by IG no matter what.
I need only to show the profile image nothing else.
http://pastebin.com/tdK1UsuA
Not using their API though.
There's also this option.