How to use FBJS to get the language preference of the user?
Posted
by ed.talmadge
on Stack Overflow
See other posts from Stack Overflow
or by ed.talmadge
Published on 2010-05-22T17:13:18Z
Indexed on
2010/05/22
21:30 UTC
Read the original article
Hit count: 250
I'm modifying an existing FaceBook application. The FaceBook application is generated by another application, so I don't have much control over it. I can only add html/javascript.
My goal is to use FBJS to detect the current language setting of the user and display a different message depending on their language.
For example, if the user has their language setting set to Spanish, then I would like to show a message in Spanish on my FaceBook application.
How can I do this?
© Stack Overflow or respective owner