google / google-api-ruby-client-samples

Samples for the Google API Ruby Client
327 stars 164 forks source link

:application_name and :application_version when initializing the client #12

Closed jmazin closed 4 years ago

jmazin commented 10 years ago

Hi!

Thanks for the hard work. I get this warning using the 'googleplus' example: WARN -- : Google::APIClient - Please provide :application_name and :application_version when initializing the client.

Was wondering if there's something we're not doing. Thanks.

adamnbowen commented 10 years ago

You need to go to the Consent screen under APIs & auth, and set PRODUCT NAME

niaomingjian commented 9 years ago

Help! What the PRODUCT NAME shoud be?

deepak commented 9 years ago

@niaomingjian product name is whatever you set it. will show in the consent page when the user is asked for permissions it is the application_name

application_version is the version of the client according to the code, it is set as '0.0.0.0' by default

this warning is shown only when application_name is not given