LinkedIn, Facebook and Google + login

Post your TD Mobile tools and samples or ask for them.
Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 770
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

LinkedIn, Facebook and Google + login

Post by Igor Ivanovic » 09 Mar 2017, 09:08

Hi,

Did anyone managed to implement LinkedIn, Facebook, Google + logins, and or getting user profile data from them?
I am not very good in javascript so any info to put me in the right direction would be appreciated.

Thx.
Igor Ivanovic
Image

FRBhote
India
Posts: 1230
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

LinkedIn, Facebook and Google + login

Post by FRBhote » 16 Mar 2017, 08:09

Facebook Login. Haven't tried Google or LinkedIn
You do not have the required permissions to view the files attached to this post.

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1113
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

LinkedIn, Facebook and Google + login

Post by Dave Rabelink » 16 Mar 2017, 09:18

I have put your sample here also:

http://samples.tdcommunity.net/index ... e/Samples/
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 770
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

LinkedIn, Facebook and Google + login

Post by Igor Ivanovic » 16 Mar 2017, 12:43

Thanks. :D

Will try it and let you know.
Igor Ivanovic
Image

FRBhote
India
Posts: 1230
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

LinkedIn, Facebook and Google + login

Post by FRBhote » 16 Mar 2017, 13:07

Hang on - some mistake - I'll give you a new one tomorrow.

FRBhote
India
Posts: 1230
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

LinkedIn, Facebook and Google + login

Post by FRBhote » 17 Mar 2017, 06:21

See:

https://github.com/jeduan/cordova-plugin-facebook4

Make sure you've registered your Facebook app with Facebook and have an APP_ID https://developers.facebook.com/apps.

You will get an APP_ID and an APP_NAME.

Publish the apx.

Add the plugin with the APP_ID and APP_NAME that you get.

cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID="123456789" --variable APP_NAME="myApplication"

and finally

cordova build android

Good luck!
You do not have the required permissions to view the files attached to this post.

Return to “Tools & Samples”

Who is online

Users browsing this forum: [Ccbot] and 0 guests