如何使用foursquare api在foursquare上添加新的特殊功能

时间:2012-10-19 11:03:14

标签: ios foursquare

我正在尝试添加新的特殊用途 https://api.foursquare.com/v2/specials/add但它总是回应不好的请求。 这就是回应

错误Domain = com.labratrevenge.HTTPRiot.ErrorDomain Code = 403“forbidden”UserInfo = 0x797dc90 {NSLocalizedFailureReason = 403错误:,NSLocalizedDescription = forbidden,headers = {type = immutable dict,count = 10, entries =>     0:不区分大小写的密钥:Access-Control-Allow-Origin = {contents =“*”}     2:Case Insensitive Key:Expires = {contents =“Fri,2012年10月19日10:58:12 GMT”}     4:Case Insensitive Key:Content-Type = {contents =“application / json; charset = utf-8”}     5:Case Insensitive Key:Server = {contents =“nginx / 1.2.1”}     6:Case Insensitive Key:Content-Length = {contents =“125”}     7:Case Insensitive Key:Connection = {contents =“keep-alive”}     8:Case Insensitive Key:Date = {contents =“Fri,2012年10月19日10:58:12 GMT”}     9:Case Insensitive Key:Cache-Control = {contents =“no-cache,private,no-store”}     10:Case Insensitive Key:Content-Encoding = {contents =“gzip”}     11:Case Insensitive Key:Pragma = {contents =“no-cache”} }

1 个答案:

答案 0 :(得分:0)

看起来您收到403 Forbidden错误,这意味着您无权添加特价。您只能为您担任经理的场所添加特价。