hungdev / react-native-instagram-login

a react native instagram login component (support android & ios). Pull requests are welcome!
https://www.npmjs.com/package/react-native-instagram-login
184 stars 103 forks source link

V2.0.0 against Facebook TOS #53

Open ventr1x opened 4 years ago

ventr1x commented 4 years ago

The new version is using the basic display api for authentication, which is against Facebooks rules.

"If your app uses API data to authenticate users, it will be rejected during App Review."

No production app will be able to use this like that - without taking the risk to get banned at any time.

Did anyone actually test this? Is this plugin basically useless these days? You have to go into review for the user_profile scope and add a screencast. Facebook is rejecting this use case.

AlbertoIHP commented 4 years ago

If your app uses API data to authenticate users, it will be rejected during App Review.

Can you give me the link of that rule?? I was looking for it but i didnt find it. However i use It! to get users media and get some pictures en video from an app mobile, corious thing is that Apple in my app review ask me for this process... 🤦‍♂️

ventr1x commented 4 years ago

It's about using the graph api as a login/auth in your app. It says so directly on Products -> Instagram -> Basic Display in your Fb App.

Screenshot 2019-11-28 at 11 53 06

Old implementations probably work without issue as they don't have to go through the new manual review process with added screencast, business use description and other fun things. I can't even test the login outside of test users (which returns a wrong user id, so it's completely useless).

AlbertoIHP commented 4 years ago

It's about using the graph api as a login/auth in your app. It says so directly on Products -> Instagram -> Basic Display in your Fb App.

Screenshot 2019-11-28 at 11 53 06

Old implementations probably work without issue as they don't have to go through the new manual review process with added screencast, business use description and other fun things. I can't even test the login outside of test users (which returns a wrong user id, so it's completely useless).

Great thanks ! Is a good information, this plugin still being util to display an interface to consume the Instagram info, but as you said, to authenticate users throw It ? Nope, we should use Facebook login instead. If Expo is the case, we Can use the Facebook API embeded in Expo API, to do so....

nihp commented 4 years ago

Can anyone clarify my question.

Now I am a sandbox user and I am planing to move to live. Now I am accessing images from instagram. Does it make any issues while I am submitting my app to permission Review.

tayfunyugruk commented 4 years ago

@nihp if i am not wrong you have to submit to facebook to go live for your instagram integration. If you go live without app review approval possibly normal user auths will not work. Basically facebook is expecting us to tell for what purpose/implementation we want to use instagram integration so that if you are not abusing anything (like using instagram for login purpose) then you will be approved i guess.

sagark1510 commented 4 years ago

My app just got rejected because of this use case. I talked with support and they said we can not user "login with instagram" for authenticating user using instagram basic display API.

Any idea how can I bypass this issue or workaround?

nihp commented 4 years ago

@sagark1510 So for authenticating shall we need to use Instagram graph API?

@ tayfunyugruk Shall I need to submit the app entirely with facebook? (i.e) I am going to live with my app to appstore and playstore.

Here before submitting for review in Appstore, shall I need to send the app to facebook for review?

sagark1510 commented 4 years ago

@nihp from the support team response what I understood is that you can not use instagram for authenticating user in any case. After first authentication with any other method you can use instagram login for access of media or profile.

And if your FB app is no approved you definitely need to go under FB app review.