Question

I would like to integrate the "Foursquare check in" feature into my iOS application. I am able to fetch the Foursquare access token using UIWebView. But i am struggling to implement check in feature. I did searched lot in Google to implement check in feature using access token. I found the following tutorial Foursquare but this one didn't helped me to integrate in xcode

Please help me, in case you know how to implement check in feature in Foursqure. It would be really helpful

Thanks in anticipation!

Was it helpful?

Solution

Once you have an access token, the hard part is done! You can use the access token in either a call in a client library or you can make a direct HTTP POST request to our checkins/add endpoint. The URI should look like, before adding any other optional parameters:

https://api.foursquare.com/v2/checkins/add?oauth_token=ACCESS_TOKEN&venueId=VENUE_ID&v=20130822

Note that Foursquare also released native auth for iOS, which can make getting the access token even easier without having to use a UIWebView.

OTHER TIPS

try this one:

Git Hub Demo Code

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top