【问题标题】:proposeedit venue method of foursquare api is responding nothing建议foursquare api的edit场地方法没有响应
【发布时间】:2012-10-19 07:33:45
【问题描述】:

我正在尝试使用 Foursquare API 的 https://api.foursquare.com/v2/venues/VENUE_ID/proposeedit 编辑场地,但在响应中,我总是得到一个空白字典并且更改未成功完成。 我的回答是

meta = {code = 200; }; notifications = ( {item ={unreadCount = 0;}; type = notificationTray;        });response ={};

【问题讨论】:

  • 您在访问foursquare api时是否提供了任何凭据?
  • 元 = { 代码 = 200; };通知 = ( { item = { unreadCount = 0; }; type = notificationTray; } );响应 = { };这是我的回应,我也提供访问令牌

标签: api ios5 foursquare


【解决方案1】:

当我尝试访问给定的 URL 时,响应是
{"meta":{"code":400,"errorType":"invalid_auth","errorDetail":"缺少访问凭据。有关详细信息,请参阅 https://developer.foursquare.com/docs/oauth.html。"},"response":{}}
因此,如果您可以看到 errorDetails ,则说明消息详细信息中需要访问凭据的原因,因此如果您可以提供,则响应可能不为空。 由于响应错误,当前响应为空

【讨论】:

  • 元 = { 代码 = 200; };通知 = ( { item = { unreadCount = 0; }; type = notificationTray; } );响应 = { };
  • 您好,zaffarachal 您能回复添加问题的回复吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-06-19
  • 1970-01-01
  • 1970-01-01
  • 2013-10-17
  • 1970-01-01
  • 2019-05-06
  • 1970-01-01
相关资源
最近更新 更多