Facebook login with apple tv and smartphone

I implemented facebook login via https://facebook.com/device for Apple TV (tvos), it works fine, but if I try to enter the code on the smartphone browser ( https://m.facebook.com/device ), I I get an error saying that my URL is not allowed.

http://accessdev.s3.amazonaws.com/stackoverflow/ATV_Fb_device_login.png

Think I need to add m.facebook.com support somewhere? or maybe this is a problem on the facebook side.

I followed the following steps https://developers.facebook.com/docs/facebook-login/for-devices#tech-step-enable-login-for-devices and activated the input for devices in the application settings

http://accessdev.s3.amazonaws.com/stackoverflow/login_from_devices.PNG

+5
source share
1 answer

You have completed the steps described in

especially that you need to change your application settings using

Settings> Advanced> OAuth Settings> Device Login

to 'Yes' ? I think this may be the reason. In addition, have you included any platforms in the application settings?

+1
source

Source: https://habr.com/ru/post/1233631/


All Articles