fredriksthlm Posted March 6, 2019 Share Posted March 6, 2019 Is it possible to get the geolocation of a user? To use for matching with in a real time multiplayer, to avoid long/bad ping time. Also to show a flag or a countrypicture for the user. can be many reasons.. GetLocale is only about language set for the session/app. Which for many countries is totally "off" to use for geo, like in many european countries they use en_US as language for their apps, but they are def not in the USA geograpically... I know your Audience networks use geolocation to serve ads, so it exist somewhere.. Can we use it in games? If not: this would be a great feature to add to the SDK. Similar to GetLocale, but GetGeo, so you can receive a country for the player. Quote Link to comment Share on other sites More sharing options...
Noel Posted March 7, 2019 Share Posted March 7, 2019 Hi @fredriksthlm You should be able to get the timezone through the usage of bots. That is the best you can get about location at the moment. Quote Link to comment Share on other sites More sharing options...
b10b Posted March 7, 2019 Share Posted March 7, 2019 @fredriksthlm Anything wrong with using a GeoIP third party API / service for such data? If using a backend for your multiplayer it could be resolved (invisibly) server-side. Quote Link to comment Share on other sites More sharing options...
Noel Posted March 8, 2019 Share Posted March 8, 2019 Just a reminder: https://developers.facebook.com/docs/games/instant-games/getting-started/launch-checklist#bot-checklist Quote Link to comment Share on other sites More sharing options...
b10b Posted March 8, 2019 Share Posted March 8, 2019 @Noel are you referring to a an IP lookup? Quote Link to comment Share on other sites More sharing options...
Noel Posted March 8, 2019 Share Posted March 8, 2019 @b10b I do not know how it would be perceived by our policy team. I guess that as long as it is pure javascript, it might be OK. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.