You need ID for it man. also you need Button for..
Hello guys,
I want your help to make such as a simple program.
This program's function is posting via itself to the facebook.
Will explain more for your understand.
First ~
Will login with ID and PW to facebook with the application.
Controls :
2 Text Boxes (ID & PW), 1 Button (Login)
Next ~
If logged in successfully show the posting form.
Controls :
1 TextBox (Post Text), 1 Button (Post Button)
And
Note :Code:MsgBox("Posted successfully.", MsgBoxStyle.Information, "FaceBook")
We won't add any pictures or videos attaching options, just a text for make it easier creating.
If we're gonna use the HttpWebRequest method then those information may help you :
SS1 [Post TextBox Element Inspect]
SS2 [Post Button Element Inspect]
Is that possible?
Last edited by Nexero; 06-30-2014 at 06:26 PM.
I think Visual Basic is not able to make this application. At least C++ or C#.
so because it's not 'more advanced' than C++, this application can't be made in vb? Dumb...
I agree C++ is generally faster, but the app can still be made in vb... as well as 99.99999% any other app :|
Last edited by abuckau907; 07-08-2014 at 04:03 AM.
'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
--
HtmlElement Properties (System.Windows.Forms)
Loop through all the elements and check them.. i guess
or get all buttons and then check the class or w/e
HtmlDocument.GetElementsByTagName Method (System.Windows.Forms)
Also I think they use a hidden-field to force you to actually load the page first (?)
Maybe it sucks, but easiest way is to use a WebBrowser component..it'll maintain all that for you, but it is possible to do yourself (using socket class if you want to go hardcore...). With the WebBrowser you'll loop over the page elements (like Biesi suggests), and invoke some members (SetValue to set text boxes...Click() for the buttons: something like that).Code:<form> ... <input type="hidden" name="lgnrnd" value="101555_ZYXW" /> </form>
Last edited by abuckau907; 07-08-2014 at 11:26 AM.
'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
--