适用于iphone的FourSquare API [英] FourSquare API for iphone
问题描述
由于我需要在我的应用程序中集成foursquare,
我找到了API并且还集成在我的应用程序中。但是有一些问题。
As I need to integrate the foursquare in my application, I have found the API and also integrate in my application. But there is some problem.
我想展示我周围最近的地方。因为还有显示场地的方法
I want to show the nearest venue around me. As there is also method to show the venue
+(void)searchVenuesNearByLatitude:(NSString*)lat
longitude:(NSString*)lon
accuracyLL:(NSString*)accuracyLL
altitude:(NSString*)altitude
accuracyAlt:(NSString*)accuracyAlt
query:(NSString*)query
limit:(NSString*)limit
intent:(NSString*)intent
callback:(Foursquare2Callback)callback;
但问题是搜索场所需要传递的参数是5 KM 。
任何人都可以帮我解决这个问题。
But the problem is what are the parameter need to pass for search venue which are in area of 5 KM. Can any one help me to solve this problem.
提前致谢,
kunal patel 。
kunal patel.
推荐答案
Andreas已经做了一个很好的例子iphone项目托管在github
我尝试了它并且它工作得很好看看 https://github.com/anka/bw_examples/tree/master/FoursquareIntegration
Andreas has made a good example iphone project that hosted on github I tried it and it's working very well take a look at https://github.com/anka/bw_examples/tree/master/FoursquareIntegration
祝你好运
这篇关于适用于iphone的FourSquare API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!