Foursquare
authentication:
for ios i used the below library, provided by FSq itself so it makes thing really easy and smooth
https://github.com/foursquare/foursquare-ios-oauth/
using endpoints
Once you have an access token, it’s easy to use any of the endpoints, by just adding
oauth_token=ACCESS_TOKEN
to your GET or POST request.
https://developer.foursquare.com/overview/auth
searching a restaurant using its name
https://api.foursquare.com/v2/venues/search?query=abc