Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect Facebook language

Tags:

facebook

I'm working on a Facebook application where there will be 2 languages, obviously the user can switch himself, but I would also like to detect what language the user is using on Facebook so I can set that as a default one.

I checked the opengraph API, but there doesn't seem to be any way to detect this, are there any other options?

like image 570
woutr_be Avatar asked Nov 25 '25 18:11

woutr_be


1 Answers

There is look here

https://developers.facebook.com/docs/reference/api/user/

Check locale and languages

like image 167
soniccool Avatar answered Nov 27 '25 22:11

soniccool



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!