Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook login with apple TV and smartphone

I have implemented facebook login via https://facebook.com/device for apple TV (tvos) , it's working fine but if I try to type the code on a smartphone browser ( https://m.facebook.com/device ) , I get an error message saying my url is not authorized..

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

I guess I have to add the m.facebook.com support somewhere ? or maybe it's there an issue on facebook side.

I have followed the steps here https://developers.facebook.com/docs/facebook-login/for-devices#tech-step-enable-login-for-devices , and activated login for devices in the app settings

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

like image 994
Nico AD Avatar asked Nov 10 '22 03:11

Nico AD


1 Answers

Have you followed the steps outlined on

  • https://developers.facebook.com/docs/facebook-login/for-devices#tech-step-enable-login-for-devices

especially that you need to change your app's settings via

Settings > Advanced > OAuth Settings > Login from Devices

to 'Yes'? I guess this could be the reason. Apart from that, have you enabled any platforms in the app's settings?

like image 84
Tobi Avatar answered Dec 12 '22 15:12

Tobi