I have succesfully retrieved a language that a Facebook User knows using the Graph API
the JSON looks like the following.
languages = (
{
id = 105541139480550;
name = Indonesian;
},
{
id = 106059522759137;
name = English;
},
{
id = 103088979730830;
name = "Mandarin Chinese";
}
);
Those are array of Page of that language.
For example:
http://facebook.com/pages/-/106059522759137 will redirect to the english language page
How do I get the language code from that from example "en" for english?
https://en.wikipedia.org/wiki/Language_code
Any help would be greatly appreciated!!!