我有一个 .NET
Web 应用程序,我想在用户登录我的网站时将其签入 FourSquare
。使用 4Square API,我可以毫无问题地进行授权,但根据我在签入调用中传递的参数,它返回签入类型为“Shout”或“Venueless”。我无法创建“CheckIn”类型的签到。
问题是“Shout”或“Venueless”类型不被计入我创建的场地的签到。根据我阅读的内容,我想知道这是否可能。它适用于 FourSqaures 网络应用
我正在发布到此地址并传递用户身份验证令牌
、venueId
、broadcast=public
和喊话文本我还尝试添加场地项目中的纬度和经度(我知道这会让人皱眉),
除非我包含场地参数,然后我会得到一种“Venueless”类型。 。
My VenueID = 4eeb40877beb28478d78928a
Versioning = 20111201
任何帮助/想法将不胜感激。
I have a .NET
web application and I want to check users into FourSquare
when they log into my website. Using the 4Square API I can authorize without problem but depending on the params I pass to in the check in call it returns with a checkin type of either "Shout" or "Venueless". I have not been able to create a check-in with a type of "CheckIn".
The problem is that the types of 'Shout" or "Venueless" are not being counted as checkins at the venue place I created. From what I've been reading I'm wondering if this is possible. It works from FourSqaures web app
I'm posting to this address and passing the users auth token
, the venueId
, broadcast=public
and the shout text. I have also tried adding the latitude and longitude from my venue item (I know this is frowned upon).
I always get back a type of 'Shout" unless I include the venue param and then I get back a type of 'Venueless".
My VenueID = 4eeb40877beb28478d78928a
Versioning = 20111201
Any help/ideas will be appreciated.
发布评论
评论(1)
无论如何,每个地点都应该在 Foursquare 中创建一个场地。在发布签到/添加之前,请确保您可以提供准确的纬度/经度位置(可能通过浏览器的位置服务)。
总结上面评论的对话,以便这个问题不再在 SO 上显示为未回答
Each location should have a venue created in Foursquare regardless. Make sure that you can provide an accurate lat/long location (perhaps by their browser's location services) before posting the check-in/add.
Summarizing the commented conversation above so that this question no longer appears as unanswered on SO