[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.
Hey Guys,
i just made a really Easy Example for Facebook Login within Visual Basic.
What we need:
2x Textboxes
1x Button
1x Webbrowser Control
On Form_Load Event set this Code:
i just made a really Easy Example for Facebook Login within Visual Basic.
What we need:
2x Textboxes
1x Button
1x Webbrowser Control
On Form_Load Event set this Code:
Code: Select all
Webbrowser_DocumentCompletet Event set this Code:
WebBrowser1.Navigate("http://www.facebook.com/")
Button1.Enabled = False
Code: Select all
Button_Click Event:
Dim text As String = WebBrowser1.DocumentText
If text.Contains("login_form") Then
Button1.Enabled = True
Else
Button1.Enabled = False
MsgBox("Could not find Login Form!", MsgBoxStyle.Information, "Error")
End If
Code: Select all
WebBrowser1.Document.GetElementById("email").SetAttribute("value", TextBox1.Text)
WebBrowser1.Document.GetElementById("pass").SetAttribute("value", TextBox2.Text)
WebBrowser1.Document.GetElementById("loginbutton").InvokeMember("click")
It might be easy, but I'm sure many people did not know that (count me in :lol: )
I'm guessing this can be applied to pretty much every website which uses forms as login methods. Nice tut
I'm guessing this can be applied to pretty much every website which uses forms as login methods. Nice tut
you are correct comathi . if you developed this code you can make a portable cns app . is it ?
Find my programs on Softpedia
aah i can make a cns os with this!
A portable CnS App should be no problem to do.
Yes its pretty simple, but for beginners its good to use.
Yes its pretty simple, but for beginners its good to use.
There are already some apps to login and view info from your account on this site.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
CoolCoder wrote:aah i can make a cns os with this!A CodeNStuff OS?
I'm sorry but I really do doubt you are capable of creating an entire OS, you realise to make one of these the core will need to be done in native C++? And not be ran from something you double click on windows?
Unless you mean something else of course, then forget I posted.
Bound and boom tech,
The Future Of Coding
The Future Of Coding
paralyzer wrote:Well he could i been looking into it for one i am making at the min you can build it in what ever language you are happyest with and then there is this really complex way to shut down most windows fetures including the OS and still load the nesassery files to boot your Program soo as long as you had your program compleatly stand alone no need for anything else to suport its run such as diologs it could be done trouble is that this cant be done from code you have to do it in regestry editor extCoolCoder wrote:aah i can make a cns os with this!A CodeNStuff OS?
I'm sorry but I really do doubt you are capable of creating an entire OS, you realise to make one of these the core will need to be done in native C++? And not be ran from something you double click on windows?
Unless you mean something else of course, then forget I posted.
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!
Copyright Information
Copyright © Codenstuff.com 2020 - 2023