Getting Language Code/Locale from Facebook Graph API -
i have succesfully retrieved language facebook user knows using graph api
the json looks following.
languages = ( { id = 105541139480550; name = indonesian; }, { id = 106059522759137; name = english; }, { id = 103088979730830; name = "mandarin chinese"; } );
those array of page of language.
for example:
http://facebook.com/pages/-/106059522759137 redirect english language page
how language code from example "en" english?
https://en.wikipedia.org/wiki/language_code
any appreciated!!!
there's no endpoint language codes of languages object's entries. can query locale
of user object, not each language. guess you'll need mapping in own application between language on facebook , language code.
see
Comments
Post a Comment