Question

i am using foursqure functionality in my application,one week ago my application was working with foursqure and i was getting sucessful login ,but now when i am using it again..,its giving me following error.

 "meta":{
"code":410,
"errorType":"param_error",
 "errorDetail":"The Foursquare API no longer supports requests that do not pass in a version    parameter. For more details see https:\/\/developer.foursquare.com\/overview\/versioning"
},
 "response":{
}
}

why i am getting this error.,it was working before few days but its not working now,i am unable to understand where i am doing wrong ,please help me for this,thankyou.

Was it helpful?

Solution

Your request is probably missing a parameter.
Foursquare has changed it's api as of January 28, 2014.

"Requests that do not include a v parameter will be rejected."

You will need to add a v parameter which will be a date that represents the "version" of the API you expect from Foursquare.

v=YYYYMMDD

Clients that wish to be robust against changes should always pass v=DATEVERIFIED (in the YYYYMMDD format) and watch for any deprecated responses coming back from the server.

For more information visit:
https://developer.foursquare.com/overview/versioning

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top