Skip to content

Commit

Permalink
Fix link formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Shepard committed Aug 15, 2010
1 parent 6edfa0f commit eb15631
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.mdown
Expand Up @@ -13,9 +13,9 @@ The SDK is lightweight and has no external dependencies. Getting started is quic
Install necessary packages
--------------------------

* Set up for iPhone development by following (https://developer.apple.com/iphone/index.action)[iPhone Dev Center Getting Started Documents].
* Set up for iPhone development by following [iPhone Dev Center Getting Started Documents](https://developer.apple.com/iphone/index.action).

* Install (http://git-scm.com/)[Git].
* Install [Git](http://git-scm.com/).

* Pull code down from github:

Expand Down Expand Up @@ -60,8 +60,6 @@ User login and application permission requests use the same method: authorize().

If you pass in extra permissions in the permissions parameter (e.g. "publish_stream", "offline_access"), then the user will be prompted to grant these permissions. "offline_access" is particularly useful, as it avoids access expiration and ongoing prompts to the user for access. See http://developers.facebook.com/docs/authentication/permissions

This SDK uses the (http://tools.ietf.org/html/draft-ietf-oauth-v2)["user-agent"] flow from OAuth 2.0 for authentication details.

To authorize a user, the simplest usage is:

facebook = [[Facebook alloc] init];
Expand Down Expand Up @@ -92,7 +90,7 @@ The FBRequestDelegate is an interface that handle the request response that your
Note that the server response is in JSON string format. The SDK use a open source package json frame work (http://code.google.com/p/json-framework/) to parse the result. If there is error, it will call request:didFailWithError: function in the FBRequestDelegate. If it is succeed, it will call request:didLoad: function in the FBRequestDelegate. The result passed to the FBRequestDelegate can be an NSArray for multiple results or a NSDictionary for single result.
i whose fields and values can be inspected and accessed. The sample implementation checks for a variety of error conditions and raises JSON or Facebook exceptions if the content is invalid or includes an error generated by the server. Advanced applications may wish to provide their own parsing and error handling.

The (http://developers.facebook.com/docs/reference/rest/)[Old REST API] is also supported. To access the older methods, pass in the named parameters and method name as a NSDictionary.
The [Old REST API](http://developers.facebook.com/docs/reference/rest/) is also supported. To access the older methods, pass in the named parameters and method name as a NSDictionary.

NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"4", @"uids", @"name", @"fields", nil];
[facebook requestWithMethodName: @"users.getInfo" andParams: params andHttpMethod: @"GET" andDelegate: self];
Expand Down

0 comments on commit eb15631

Please sign in to comment.