简体   繁体   中英

Foursquare Specials API: How does foursquare retire specials?

Does the "state" property change to "locked"? Are they removed altogether?

Basically, I store the ID of a special (along with some of the data) and want to test whether it still is a valid special or not at a later date. What's the best way to accomplish this?

I've been through the specials API countless times, and I can't find a property that simply describes whether or not the special is "active".

Any help is much appreciated. Thanks!

If a special can no longer be redeemed it's state will be set to "locked". See https://developer.foursquare.com/docs/responses/special for more details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM