Skip to content Skip to sidebar Skip to footer

Facebook Android Sdk 4.0+ User_location?

I'm trying hard to get User's country but I'm not able to get it. Not able to understand what exactly is wrong here ? I'm referring this documentation. This is what I have tried so

Solution 1:

As I didn't have access to app in Facebook console, I wasn't sure about permissions requested by app. After discussion with @MingLi in above comments, I got to know that "user_location" permission needs approval from Facebook and it was not approved, though it was requested.

Above code started working after permission was granted by Facebook.

Post a Comment for "Facebook Android Sdk 4.0+ User_location?"