Giter Site home page Giter Site logo

foursquare-oauth-iphone's Introduction

Foursquare+OAuth Source and Example for iPhone
Created by Andrew Vergara

If you use it, please include the following text somewhere in your application's user-facing text:
"Includes Foursquare+OAuth code by Andrew Vergara"

The goal of this is to create a drop-in code package for iPhone apps that want to access Foursquare APIv2 via OAuth. 

This project is heavily influenced by Ben Gottlieb's Twitter-OAuth-iPhone(https://github.com/bengottlieb/Twitter-OAuth-iPhone). 
Hopefully, I wrote it well enough that it is easily digestible.


Enjoy, and please let me know if you have any feedback!

Andrew Vergara
[email protected]



-------------------------------------------------------
01-19-10: Restructured how the library is being laid out to mimic the structure of Foursquare's api.

12-22-10: Started to do some prototyping in retrieving foursquare data.  I am also using SBJSON to parse through the JSON and to write it to an NSDictionary object.

12-08-10: Since this is currently for prototypical purposes most of the actions are written in the viewcontroller.  Eventually, I will abstract these out.

foursquare-oauth-iphone's People

Contributors

drewvergara avatar

Stargazers

Sal Conigliaro avatar Instant Flashback avatar Tirupati Balan avatar Alexandre Rocha Lima e Marcondes avatar  avatar  avatar Rahmal Conda avatar Libin Pan avatar

Watchers

 avatar

foursquare-oauth-iphone's Issues

Redirect URL issue

hi ,

Thanks for the helpful code.

I have one issue regarding to login functionality.We are getting token from request in webview did finish load method.

I have tested my app with 'http:www.google.com' as a callback url.But where first time i m trying to login it will not getting me redirect to app.and it will show google page.

because to get token we have condition to check callbak url is same as dummyURL(variable name here) but m getting "http:www.google.com/" and no token appended after it.

it is working with URL which is in code but try it out with some url which supports mobile view like google.

Please help.. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.