Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated README code #3

Merged
merged 1 commit into from
Feb 21, 2013
Merged

Conversation

JustDerb
Copy link
Contributor

All the sample code had source code of:

<?php

require 'api/fitbitphp.php'

$fitbit = new FitBitPHP("57521d64c4044becab73bfc5f2e6578e", "a5b63f9b6e9c4601893dae54c87ab78c");

$fitbit->initSession('http://example.com/callback.php');
$xml = $fitbit->getProfile();

print_r($xml);
?>

There needs to be a semi-colon at the end of the require call.

require 'api/fitbitphp.php';

@pavelrisenberg
Copy link
Owner

Thanks that is being merged into the main repository.

pavelrisenberg pushed a commit that referenced this pull request Feb 21, 2013
Updated README code syntax
@pavelrisenberg pavelrisenberg merged commit b8b7038 into pavelrisenberg:master Feb 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants