通过foursquare API签入时,我不会出现在“立即显示"中 [英] When checking in via foursquare API, I do NOT show up in Here Now

查看:105
本文介绍了通过foursquare API签入时,我不会出现在“立即显示"中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不确定这是否与问题有关(似乎是,但我不能只评论答案,我还没有答案,但想补充一下我在这一问题上的经验.)

Not sure if this is related to this question (seems to be but I cannot comment only answer and I don't have one yet but would like to add my experience with this issue).

我在Windows Phone上使用了3个foursquare应用程序.官方应用第四版和市长,还有我自己的应用.我也通过foursquare.com/mobile签到经历了这一点.

There are 3 foursquare apps I use on my Windows Phone. The official app, 4th & Mayor, and my own app. I've also experienced this via foursquare.com/mobile checkins.

使用官方应用程序和我的应用程序登录到场所时,无论是从电话应用程序还是在网站上,或者从API调用查看json,我都不会出现在此处立即显示"中.当检查我的最后一次看到"时,它会向我显示. 使用第4个&市长是命中注定还是未命中.有时我会出现在现在这里"(在所有应用程序和网站中),有时却不会.

Using the official app and my app, when I checkin to a venue, I do not show up in "Here Now" whether from phone apps or on the website or looking at the json from the API calls. When checking my "last seen at" it shows me there. Using 4th & Mayor it's hit or miss. Sometimes I'll show up in "Here Now" (within all apps and the website) and sometimes I don't.

要注意的一件事是,当它最终确实在某个场所的现在这里"向我展示时,如果我签到另一个场所并且我没有出现在"Hhere Now","Here Now"中,则仍然显示旧场地向我展示,所以并没有清除. 最后一次见到"将我带到新的场地.

One thing to note, when it finally does show me in "Here Now" at a venue, if I checkin to another venue and I do NOT show up in "Here Now", "Here Now" for the old venue still shows me there, so it's not clearing that out. "Last seen at" shows me in the new venue.

我没有在网格外签到,并且确实选中了将我包括在当前正在某个场所签到的人员的公共列表中".甚至尝试取消选中并重新检查它.我尝试使用2个不同的帐户,尝试使用和不使用喊叫功能,使用和不共享到Facebook和Twitter,以及正常和快速签入选项.所有结果都相同.

I'm not checking in off the grid and I do have the "Include me in the public list of people who are currently checked in at a venue" checked. Even tried unchecking it and checking it back. I've tried with 2 different accounts and I've tried with and without shouts, with and without sharing to facebook and twitter, and the normal and quick checkin options. All with the same results.

请注意,我不仅依赖于显示我在某个场所的应用程序,还查看了从API返回的原始json,包括我的应用程序和API Explorer @ developer.foursquare. com.

NOTE that I'm not just relying on the apps showing me that I'm at a venue, I'm looking at the raw json returned from the API, both from my app and the API Explorer @ developer.foursquare.com.

如果有帮助,这是我应用中的HTTP帖子(删除了场地和oauth令牌):

If it helps, here's the HTTP Post from my app (venue and oauth token removed):

https ://api.foursquare.com/v2/checkins/add?broadcast = public,facebook& venueId = the_venue_id& oauth_token = my_token& v = 20111030

我什至尝试将版本更改为& v = 20120107,但仍然无法使用. 我还登出了我能想到的所有位置,甚至断开了我的Facebook和Twitter帐户.

I've even tried changing the version to &v=20120107 and it still doesn't work. I've also logged out everwhere I could think of and even disconnected my facebook and twitter accounts.

这是最近才开始的,在过去的几天之内.

It is only recently this has started, within the past couple days.

总而言之,

  • 当我签入时,无论是场所/VENUE_ID端点,场所/搜索端点(我现在不在这里)还是场所/VENUE_ID/herenow端点,都没有出现在立即出现"中. /li>
  • 我的签到确实通过用户/自身以及通过签到/最近的端点显示.
  • When I checkin I do not show up in Here Now, either from the venues/VENUE_ID endpoint, the venues/search endpoint (I'm not counted in the here now), or the venues/VENUE_ID/herenow endpoint.
  • My checkin does show up via users/self and via the checkins/recent endpoint.

使用的应用程序:适用于Windows Phone 4和更高版本的foursquare;市长,我自己的Windows Phone应用程序,和foursquare.com/mobile.

Apps used: foursquare for Windows Phone, 4th & Mayor, my own Windows Phone app, and foursquare.com/mobile.

推荐答案

由于多种原因,您可能不会出现在这里:

You may not appear in herenow for a variety of reasons:

1)如果用户没有经纬度登记入住,我们认为是记录保存的登记入住地点,因此可能不会在此处显示该用户,因为我们不知道他们是否确实在那里

1) If a user checks in without a lat/lng, we consider that a record-keeping check-in and may not display the user in herenow since we have no idea if they are actually there or not

2)如果用户以离会场足够远的经纬度办理登机手续,则我们可能不会在此刻显示用户.

2) If the user checks in with a lat/lng that is sufficiently far away from the venue, we may not display the user in herenow.

根据您的请求,您似乎没有将当前的经度/纬度传递给API,这很可能使您处于情况(1).

Looking at your request, it would appear that you're not passing your current lat/lng to the API, which would likely put you in case (1).

官方应用+第4个&市长应该通过电话报告您的经纬度.我可以认为现在不会更新的唯一原因是,如果您正在检查附近的场所,或者您的手机的GPS外观不佳.

The official app + 4th & Mayor should be passing your lat/lng as reported by your phone. The only reason I can think that herenow wouldn't update is if you're checking in to a venue you are not near to, or if your phone has a poor GPS look.

如果您确实开始将经度/纬度传递给API服务器,请确保您报告的是真实设备(如手机的OS)报告的用户的实际位置.否则,可能会导致您的应用程序被禁用,恕不另行通知.

If you do start passing lat/lngs to the API servers, be sure that you are reporting the user's actual location as reported by an impartial device (like the phone's OS). Failure to do otherwise may cause your application to be disabled without notice.

这篇关于通过foursquare API签入时,我不会出现在“立即显示"中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆