Skip to content

Commit

Permalink
Edited README.md via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
towski committed Mar 31, 2011
1 parent 906066d commit 80d00e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ You'll need your application credentials from both Facebook and Kongregate. You
$platform = new KongregatePlatform($config);
}

An examples of this is in index.php.
An example of this is in index.php.

In your Facebook configuration, you'll want to add ?platform=fb to the end of your canvas address.

## User login

The call to login a user is easy. If they aren't currently logged in with permissions to Kongregate or Facebook, they will be redirected to the login form.
Then we'll want to make sure the user is logged in. If they aren't, they will be redirected to the login form.

$platform->login();

Expand Down

0 comments on commit 80d00e8

Please sign in to comment.