Use of FourSquare API to find nearby places in iOS

2020-06-04 05:35发布

问题:

How to use Foursquare API to find nearby places in iOS Applications.

As I am new in this environment.. So please help me to find any sample tutorial available on the API.

I had gone through this link, And I got the response "error type" : deprecated so please provide another link for this same solution..

Thanks in advance..

回答1:

You can try looking at this link for more information about Objective-C libraries that work with the foursquare API.

Edit: Currently this one appears to be the more recent, more chances of it working properly, also good documentation there on how to integrate it. It is the second one listed in the foursquare library page.

Also check out the foursquare developer site in general, you will need to know the different endpoints and what data they return anyway => https://developer.foursquare.com/



回答2:

this Link is pretty good,comes with little instruction, u can use the search venues,check in,photo services..heaven! go through foursquare Api page for desired modification. in the FSQMasterViewController.m file you need to #define kClientID @"yourClientId" and #define kCallbackURL @"ur callback url" fix your infoPlist the urlSchemes too