Take the 2-minute tour ×

Can some one please tell me what would i give as scope for getting the profile picture of a google user account using zend oauth php

require_once 'Zend/Oauth/Consumer.php';
        $SCOPES = array(

while i give https://www.googleapis.com/auth/userinfo#profile, it is throwing error

Any help would be much appreciated

share|improve this question
add comment

2 Answers

Try a period instead of a pound sign. I am successfully able to authenticate https://www.googleapis.com/auth/userinfo.profile at the OAuth 1 playground at http://googlecodesamples.com/oauth_playground/. If that doesn't work, compare your requests to the equivalent ones in the playground.

share|improve this answer
add comment

The correct names for the userinfo scopes are:


I think the OAuth 2.0 Playground provides the most complete overview of Google OAuth scopes.

share|improve this answer
add comment

Your Answer


