Shay Well-Known Member Licensed User Longtime User Mar 27, 2015 #1 I saw app's that allow you to login to their app using your gmail or facebook account So they don't need to register to your app How can it be done?
I saw app's that allow you to login to their app using your gmail or facebook account So they don't need to register to your app How can it be done?
moster67 Expert Licensed User Longtime User Mar 27, 2015 #2 Never tried Facebook but Google works. For further information, see the B4A example for OAuth 2.0: https://www.b4x.com/android/forum/threads/oauth-2-0-google-web-services-tutorial.14517/#content Of course, you will need to modify your code slightly but not much. You may also need this code-snippet: https://www.b4x.com/android/forum/threads/webview-extra.48304/#post-314125 Upvote 0
Never tried Facebook but Google works. For further information, see the B4A example for OAuth 2.0: https://www.b4x.com/android/forum/threads/oauth-2-0-google-web-services-tutorial.14517/#content Of course, you will need to modify your code slightly but not much. You may also need this code-snippet: https://www.b4x.com/android/forum/threads/webview-extra.48304/#post-314125
Shay Well-Known Member Licensed User Longtime User Mar 27, 2015 #3 Thanks I will check it, Is there any similar way on B4i? Upvote 0
moster67 Expert Licensed User Longtime User Mar 27, 2015 #4 I used said code and modified it for B4i. It's not difficult. Upvote 0
Shay Well-Known Member Licensed User Longtime User Mar 27, 2015 #5 I manage to get the token How do I get user gmail address so I can connect it to the token? Also do you know if token is changing? Upvote 0
I manage to get the token How do I get user gmail address so I can connect it to the token? Also do you know if token is changing?
kepler Active Member Licensed User Longtime User Mar 12, 2016 #6 Hi Shay, Can you please tell me if you got a sucessful Facebook authentication and how? Would you kindly provide me some code sample? Kind regards, Kepler Upvote 0
Hi Shay, Can you please tell me if you got a sucessful Facebook authentication and how? Would you kindly provide me some code sample? Kind regards, Kepler