Google Developers Console and create a project.', 'Expand "API & Auth" on the left and click "APIs". Choose the "Google+ API" API and enable the API.', 'Click into the "Credentials" section and click the "Add Credentials" button, choosing OAuth 2.0 client ID.', 'Choose "Web Application" for the Application Type. Enter '.DEVELOPER_ROOT.'services/googleplus/return/ as the "Authorized redirect URI".', 'Enter the Client ID and Client Secret that was created from the previous step below.', 'Follow the OAuth process of allowing BigTree/your application access to your Google+ account.' ); function __localBigTreeAPIReturn(&$api) { $info = $api->getPerson(); $api->Settings["user_id"] = $info->ID; $api->Settings["user_name"] = $info->DisplayName; $api->Settings["user_image"] = $info->Image; } ?>