Skip to content

Commit

Permalink
Add link to code->token exchange documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
akdotcom committed Jun 18, 2013
1 parent 3271021 commit b95cc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The possible error code values are:

This method will initiate an asynchronous network request to Foursquare to convert a user's access code into an auth token.

*WARNING:* For security reasons, it is recommended that you not use this method if possible. You should pass the returned accessCode to your own server and have it contact the Foursquare server to convert the code to an access token instead of including your client secret in your app's binary. However, this helper method is provided for you to use if this is not possible for your app.
*WARNING:* For security reasons, it is recommended that you not use this method if possible. You should pass the returned accessCode to your own server and have it contact the Foursquare server to [convert the code to an access token](https://developer.foursquare.com/overview/auth#code) instead of including your client secret in your app's binary. However, this helper method is provided for you to use if this is not possible for your app.

Call this method with the access code returned to you by `+accessCodeForFSOAuthURL:error:` along with your app's Foursquare client ID, callback string, and client secret. The callback URI must be the same one that was used to generate the access code.

Expand Down

0 comments on commit b95cc49

Please sign in to comment.