Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes API is deprecated for versions v2.0 and higher #1126

Closed
abhij89 opened this issue Jun 11, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@abhij89
Copy link

commented Jun 11, 2019

I have been trying to integrate SDK for Instagram login. It seems to be returning following error when trying to fetch the instagram user info:

Notes API is deprecated for versions v2.0 and higher.

I am using api v3.2.

Here is the code to fetch info:
$response = $fb->get('/<instagram-id>?fields=biography%2Cid%2Cusername%2Cwebsite', $accessToken);

Documentation link I am following is:
Official Facebook Instagram Documentation

Login Code for authentication implemented as described here:
Official Facebook Github Authentication Example

I made sure of providing all the required permissions including instagram_basic and manage pages when prompted. Did I miss anything?

@abhij89

This comment has been minimized.

Copy link
Author

commented Jun 13, 2019

I was using the actual IG id to query the data, while I was supposed to use the ID facebook was returning. Everything worked out just fine. If anyone looking for Instagram Login Wrapper, I have created it here:
Instagram Connect + Get User Info

@abhij89 abhij89 closed this Jun 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.