[Tutorial] Facebook Login

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
16 posts Page 2 of 2
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

Re: [Tutorial] Facebook Login
AnoPem
benji_19994 wrote:
Hey peoples i like this tutorial but i would like to know how to how make the facebook login password and user name open in a diff window-form And also so it can remember my details thanks if any one could help cooll; if you can help!
You could add the webbrowser to form2 and make the code in login button like this i think
Code: Select all
Form2.show
'Added the form2. in front of webbrowser makes it go to form2
form2.WebBrowser1.Document.GetElementById("email").SetAttribute("value", TextBox1.Text)
form2.WebBrowser1.Document.GetElementById("pass").SetAttribute("value", TextBox2.Text)
form2.WebBrowser1.Document.GetElementById("loginbutton").InvokeMember("click")
remember to set the webbrowser code in form2

and for the save information you could use my.settings

in my project under settings add 2 strings, 1 called name another called pw

Then in login button add
Code: Select all
'Save the information to the program, will be reset if the program is moved
my.settings.name = textbox1.text
my.settings.pw = textbox2.text
my.settings.save
and to the form load event
Code: Select all
'Load information on program startup from my.settings, if the program is moved to another directory the text will be reset
textbox1.text = my.settings.name
textbox2.text = my.settings.pw
Should do what you asked :)
Last edited by AnoPem on Wed Apr 18, 2012 8:21 pm, edited 2 times in total.
https://t.me/pump_upp
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

Re: [Tutorial] Facebook Login
Shim
this can be used to any login websites or to fill form on websites
Find my programs on Softpedia
User avatar
benji_19994
VIP - Donator
VIP - Donator
Posts: 156
Joined: Mon Apr 16, 2012 3:13 pm

Re: [Tutorial] Facebook Login
benji_19994
Thank you cooll; This site is really great if you need help
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

Re: [Tutorial] Facebook Login
Shim
this website is worlds greatest coding website ever
Find my programs on Softpedia
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

Re: [Tutorial] Facebook Login
AnoPem
benji_19994 wrote:
Thank you cooll; This site is really great if you need help
My pleasure
https://t.me/pump_upp
User avatar
MrAlicard
VIP - Donator
VIP - Donator
Posts: 54
Joined: Thu Aug 05, 2010 4:08 pm

Re: [Tutorial] Facebook Login
MrAlicard
Ohh my good!
How much many can I find a good source on this site. :D
Thanks :D
16 posts Page 2 of 2
Return to “Tutorials”