# Login with Google V2

**URL:** <https://community.thunkable.com/t/login-with-google-v2/4826>\
**Category:** Promote your App\
**Tags:** google, oauth, aia, login\
**Created:** [June 25, 2017, 1:55pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826 "2017-06-25T13:55:55Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [July 10, 2017, 12:08pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/21 "2017-07-10T12:08:18Z")

</div>

Done 👍

Sorry for the delay 😓

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [July 10, 2017, 5:10pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/22 "2017-07-10T17:10:51Z")

</div>

No problem.🙂

Where is the new file? ı cant find it

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [July 10, 2017, 6:28pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/23 "2017-07-10T18:28:56Z")

</div>

I haven’t uploaded it 😅

* * *

But just change these lines:

```auto
          echo $id."<br>";
          echo $name."<br>";
          echo $birthday."<br>";
          echo $email."<br>";
          echo $profile_image_url."<br>";
          echo $cover_image_url."<br>";
          echo $profile_url."<br>";
          echo $aboutMe."<br>";
          echo $nickname."<br>";
          echo $tagline."<br>";
          echo $braggingRights."<br>";

```

into these:

```auto
          echo "<title>";
          echo $id."<br>";
          echo $name."<br>";
          echo $birthday."<br>";
          echo $email."<br>";
          echo $profile_image_url."<br>";
          echo $cover_image_url."<br>";
          echo $profile_url."<br>";
          echo $aboutMe."<br>";
          echo $nickname."<br>";
          echo $tagline."<br>";
          echo $braggingRights."<br>";
          echo "</title>";

          echo $id."<br>";
          echo $name."<br>";
          echo $birthday."<br>";
          echo $email."<br>";
          echo $profile_image_url."<br>";
          echo $cover_image_url."<br>";
          echo $profile_url."<br>";
          echo $aboutMe."<br>";
          echo $nickname."<br>";
          echo $tagline."<br>";
          echo $braggingRights."<br>";

```

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [July 10, 2017, 6:40pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/24 "2017-07-10T18:40:54Z")

</div>

Which file i need edit

---

<div class="post-metadata">

**Author:** ![Joao\_Pedro](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@Joao\_Pedro](https://community.thunkable.com/u/Joao_Pedro)\
**Post date:** [July 10, 2017, 6:55pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/25 "2017-07-10T18:55:04Z")

</div>

Hi,  
Anyone have upload any App with this Extension to Google Play?  
Thanks

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [July 10, 2017, 6:57pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/26 "2017-07-10T18:57:31Z")

</div>

`index.php`

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [July 10, 2017, 6:57pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/27 "2017-07-10T18:57:52Z")

</div>

No

This app isn’t in GPlay  
However, you can download it on the first post

---

<div class="post-metadata">

**Author:** ![Joao\_Pedro](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@Joao\_Pedro](https://community.thunkable.com/u/Joao_Pedro)\
**Post date:** [July 10, 2017, 7:24pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/28 "2017-07-10T19:24:35Z")

</div>

I was asking because i tried to put one App with the V1 of this extension and it didnt got published. Then i upload the same App but i removed the extension and it got Published. I dont know if the extension was the problem.

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [July 10, 2017, 9:25pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/29 "2017-07-10T21:25:08Z")

</div>

Thanks for code,ı use this code

```
echo "<title>";
          echo $id.",";
          echo $name.",";
          echo $birthday."";
          echo $email.",";
          echo $profile_image_url.",";
          echo $cover_image_url.",";
          echo $profile_url.",";
          echo $nickname.",";
          echo "</title>";

```

And List from csv row and its work.I dont use aboutMe and some unnecessary infos

```
  echo $aboutMe.",";

```

Its broke csv from row operation

Here my aboutMe text.I think html codes broke it  
`<a href="http://droidim.com" rel="nofollow" target="_blank">droidim.com</a>`

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 10, 2017, 9:51pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/30 "2017-07-10T21:51:37Z")

</div>

If your app is rejected for Google Play they will email you to let you know which criterion/criteria you failed to meet.

Check your emails to see what the objected to.

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [July 11, 2017, 11:08am UTC](https://community.thunkable.com/t/login-with-google-v2/4826/31 "2017-07-11T11:08:08Z")

</div>

I downloaded zip and changed client id secret … to my own values.And uploaded it to my website.

I have Oauth error do you know how to fix it

 ![](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/9/9bb49f88c50b74466d063a752f72eb4c4e98370c.jpeg)

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [July 11, 2017, 11:19am UTC](https://community.thunkable.com/t/login-with-google-v2/4826/32 "2017-07-11T11:19:48Z")

</div>

Try clearing app data and cache

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [July 11, 2017, 1:14pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/33 "2017-07-11T13:14:00Z")

</div>

Thanks its fixes problem for thunkable live.I need do this for packaged apps? OR when i need do it.I will release update with google login and ı dont want user see this errors

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [July 11, 2017, 1:28pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/34 "2017-07-11T13:28:59Z")

</div>

Just when the error occurs ask users to clear cache 😉

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [July 11, 2017, 1:30pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/35 "2017-07-11T13:30:58Z")

</div>

I need clear app cache or ı need just clear webview cache?

İf ı need clear app cache user need donwload again other files.Its not good

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [July 11, 2017, 1:35pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/36 "2017-07-11T13:35:06Z")

</div>

I think with WebView cache must be enough

---

<div class="post-metadata">

**Author:** ![ILoveThunkable](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ilovethunkable/32/3134_2.png) [@ILoveThunkable](https://community.thunkable.com/u/ILoveThunkable)\
**Post date:** [July 11, 2017, 2:52pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/37 "2017-07-11T14:52:37Z")

</div>

By the error, I see that Google OAuth token is expired…

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [July 12, 2017, 10:04am UTC](https://community.thunkable.com/t/login-with-google-v2/4826/38 "2017-07-12T10:04:19Z")

</div>

No its not work

Now its give me same error.I try Clear Web view and WebViewerDialog cache but its not fixes problem

I testing it with Thunkable live

---

<div class="post-metadata">

**Author:** ![randell\_tumala](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@randell\_tumala](https://community.thunkable.com/u/randell_tumala)\
**Post date:** [October 27, 2017, 8:04am UTC](https://community.thunkable.com/t/login-with-google-v2/4826/39 "2017-10-27T08:04:15Z")

</div>

Can anyone help? because I am using the google login of sir Barreeeiroo but can I save to my firebase database who login in that form? Like their email use to login? Thank you!

---

<div class="post-metadata">

**Author:** ![Haider\_Alwasiti](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/haider_alwasiti/32/66198_2.png) [@Haider\_Alwasiti](https://community.thunkable.com/u/Haider_Alwasiti)\
**Post date:** [November 1, 2017, 1:14pm UTC](https://community.thunkable.com/t/login-with-google-v2/4826/40 "2017-11-01T13:14:41Z")

</div>

@Barreeeiroo  
So this should solve the problem of login using Google credentials into a website like [http://www.feedly.com](http://www.feedly.com)

I am new to the OAuth protocol and how it works. If you did this so far, you are understanding the nitty gritty of OAuth protocol.

So how can I use the information that I will get from your php script. Perhaps the google id should be added in the feedly url ? But how?

Please consider an example how to use the user’s Google info in login into a site that uses login using google.  
This will help a lot of people using your extension…

Thanks

[Previous page](https://community.thunkable.com/t/login-with-google-v2/4826.md?page=1)

[Next page](https://community.thunkable.com/t/login-with-google-v2/4826.md?page=3)
