{"id":1066,"date":"2016-11-26T03:43:41","date_gmt":"2016-11-26T03:43:41","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=1066"},"modified":"2017-01-25T07:57:17","modified_gmt":"2017-01-25T07:57:17","slug":"google-apis","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2016\/11\/26\/google-apis\/","title":{"rendered":"Google APIs"},"content":{"rendered":"<p>Ref: <a href=\"http:\/\/devartisans.com\/articles\/create-project-google-developer-console\" target=\"_blank\">Create Project in Google Developer Console<\/a><\/p>\n<ol>\n<li>Open <a href=\"https:\/\/console.developers.google.com\/apis\/library\" target=\"_blank\">Google Developer Console<\/a>. Here is the screen<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-dev-console.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1070\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-dev-console-1024x484.png\" alt=\"google-dev-console\" width=\"840\" height=\"397\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-dev-console-1024x484.png 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-dev-console-300x142.png 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-dev-console-768x363.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-dev-console-1200x568.png 1200w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-dev-console.png 1351w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/li>\n<li>To create a new project, Click Project -&gt; Create Project<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-create-project.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1071\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-create-project.png\" alt=\"google-create-project\" width=\"544\" height=\"302\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-create-project.png 544w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-create-project-300x167.png 300w\" sizes=\"auto, (max-width: 544px) 85vw, 544px\" \/><br \/>\n<\/a>Here is the new project<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-my-project.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1072\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-my-project.png\" alt=\"google-my-project\" width=\"449\" height=\"190\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-my-project.png 449w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-my-project-300x127.png 300w\" sizes=\"auto, (max-width: 449px) 85vw, 449px\" \/><\/a><\/li>\n<li>I want to use Social APIs google+ API, so click &#8216;Google+ API&#8217;<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1073\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api.png\" alt=\"google-plus-api\" width=\"361\" height=\"202\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api.png 361w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-300x168.png 300w\" sizes=\"auto, (max-width: 361px) 85vw, 361px\" \/><\/a><\/li>\n<li>The url would be like this: https:\/\/console.developers.google.com\/apis\/api\/plus\/overview?project=my-first-project-150703. Then click &#8216;Enable&#8217; <a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-enable.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1075\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-enable-1024x428.png\" alt=\"google-plus-api-enable\" width=\"840\" height=\"351\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-enable-1024x428.png 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-enable-300x125.png 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-enable-768x321.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-enable.png 1101w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>This will enable the Google+ API<\/li>\n<li>Then click &#8216;Go to credential&#8217;<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-create-credentials.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1076\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-create-credentials-1024x427.png\" alt=\"google-plus-api-create-credentials\" width=\"840\" height=\"350\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-create-credentials-1024x427.png 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-create-credentials-300x125.png 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-create-credentials-768x321.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-create-credentials.png 1102w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>I have to create the credential first!<\/li>\n<li>Here is the credential setting<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1077\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials.png\" alt=\"google-plus-api-credentials\" width=\"526\" height=\"586\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials.png 526w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-269x300.png 269w\" sizes=\"auto, (max-width: 526px) 85vw, 526px\" \/><\/a>Then click &#8216;What credentials do I need?&#8217;<\/li>\n<li>Create the oauth 2.0 setting<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-id.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1078\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-id.png\" alt=\"google-plus-api-credentials-id\" width=\"522\" height=\"586\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-id.png 522w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-id-267x300.png 267w\" sizes=\"auto, (max-width: 522px) 85vw, 522px\" \/><\/a>Click &#8216;Create client ID&#8217;<\/li>\n<li>Then set the product name &#8216;Socialite&#8217;<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-product.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1080\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-product.png\" alt=\"google-plus-api-credentials-product\" width=\"658\" height=\"510\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-product.png 658w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-credentials-product-300x233.png 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/li>\n<li>Then I got my credential for google+<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-client-id2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1082\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-client-id2.png\" alt=\"google-plus-api-client-id2\" width=\"696\" height=\"500\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-client-id2.png 696w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-client-id2-300x216.png 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a>Then click &#8216;Done&#8217;. We&#8217;re finished!<\/li>\n<li>Here is the dashboard for my app<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-oauth2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1083\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-oauth2-1024x427.png\" alt=\"google-plus-api-oauth2\" width=\"840\" height=\"350\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-oauth2-1024x427.png 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-oauth2-300x125.png 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-oauth2-768x320.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-oauth2.png 1082w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/li>\n<li>To see the credential details like Client ID and Client Secret for &#8216;Socialite&#8217; app, click &#8216;Socialite&#8217; app<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-socialite2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1084\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-socialite2.png\" alt=\"google-plus-api-socialite2\" width=\"645\" height=\"520\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-socialite2.png 645w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/11\/google-plus-api-socialite2-300x242.png 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><span class=\"rcp-restricted-content-message\">SORRY, ONLY ADMIN CAN SHOW THIS!<\/span><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Ref: Create Project in Google Developer Console Open Google Developer Console. Here is the screen To create a new project, Click Project -&gt; Create Project Here is the new project I want to use Social APIs google+ API, so click &#8216;Google+ API&#8217; The url would be like this: https:\/\/console.developers.google.com\/apis\/api\/plus\/overview?project=my-first-project-150703. Then click &#8216;Enable&#8217; This will enable &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2016\/11\/26\/google-apis\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Google APIs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"class_list":["post-1066","post","type-post","status-publish","format-standard","hentry","category-api-2"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=1066"}],"version-history":[{"count":5,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1066\/revisions"}],"predecessor-version":[{"id":1085,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1066\/revisions\/1085"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=1066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=1066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=1066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}