Right now i can get the user's name,avatar,email of the user but when i try to use this for location https://graph.facebook.com/v2.2/1234567890/location im getting this message
{
"error": {
"message": "Unknown path components: /location",
"type": "OAuthException",
"code": 2500
}
}
resource url for user location is {id}/locations
.
https://graph.facebook.com/v2.2/1234567890/locations
unfortunately , locations resource was deprecated in v2.0 or higher.accessing the above url will return
{
"error": {
"message": "(#12) user locations API is deprecated for versions v2.0 and higher",
"type": "OAuthException",
"code": 12
}
}