Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google API setApplicationName insert value

I have a problem with setting up the Google API with php. See the code below:

$client = new Google_Client();
$client->setApplicationName("MY_APP_NAME");

What do I have to use for "MY_APP_NAME", is it the appId like "com.mycompany.myapp" or is it the title of the app in Playstore like "Name of my Game"?

like image 401
Mona935 Avatar asked Oct 20 '16 08:10

Mona935


1 Answers

If memory serves this is just used in the User-Agent for the HTTP Header. It doesn't really matter what you set in it.

Example:

$client->setApplicationName("My first google app");

will do.

like image 101
DaImTo Avatar answered Oct 17 '22 14:10

DaImTo