Consumer not registered: in google api

I tried using this api: http://www.script-tutorials.com/google-api-get-contact-list/comment-page-2/ to get list contacts. I am changing $ sClientId with my client ID from the application, $ sClientSecret with the client secret, and $ sCallback with the Redirect URI from my google application. When get_request_token is called, I get 400 errors and responses "Consumer not registered: 1099334166909-m ..." and no oauth_token generated.

Can anyone help me?

Request:

https://www.google.com/accounts/OAuthGetRequestToken?oauth_callback=http%3A%2F%2Fwww.test1.com%2Findex.php&oauth_consumer_key= $ sClientId & oauth_nonce = 1115536411% TFAUTHIECE = 11155364FRK% Trigger1% T2CBBR% T2CBRI & oauth_signature_method = HMAC-SHA1 & oauth_timestamp = 1414673535 & oauth_version = 1.0 & Volume = HTTPS% 3A% 2F% 2Fwww.google.com% 2Fm8% 2Ffeeds

+3


source to share





All Articles