Open GoogleCodeExporter opened 9 years ago
If you look into the facebook url that is used to login:
https://login.facebook.com/login.php
You'll notice there is a javascript function that is called to change the
language:
intl_set_cookie_locale()
which of course sets the locale from where you want. I tried to use
'ExternalInterface' to invoke javascript on the page which is supposed to be
supported under adobe air but am getting an exception saying that it only
supports certain browsers. My method is a bit of a hack, but the only way I've
found to get around it.
Let me know if you've found a solution.
Original comment by justinma...@gmail.com
on 13 Oct 2011 at 3:54
Just as an fyi, this is not a fix just a method of a potential solution.
Original comment by justinma...@gmail.com
on 13 Oct 2011 at 3:56
This is a possible workaround, the desktop api hits this url to login:
https://graph.facebook.com/oauth/authorize?client_id=YOUR_APP_ID&redirect_uri=ht
tp://www.facebook.com/connect/login_success.html&display=popup
You'll notice that if you remove the display=popup query param, the Facebook
login page will show a larger page with language options near the bottom. In
LoginWindow.as, formatData() method, remove the line of code
vars.display='popup'. In the same class, be sure to specify a larger
WINDOW_WIDTH/HEIGHT value to accommodate the larger login screen. This screen
does not seem to scale to fit the browser window.
Original comment by edwar...@gmail.com
on 19 Oct 2011 at 9:07
Original issue reported on code.google.com by
da...@louter.info
on 29 Sep 2011 at 11:10