Hello Everybody,
Im a VB hobbyist, ive been learning for about a month or so now, ive created a few basic handy applications. Ive mainly been using web browser controls and am now experimenting with httpwebrequests.
Im the treasurer of the Mont-Tremblant Rugby Club, now the season is starting again I was think of creating a simple desktop application so I could post updates on our facebook groups wall, http://www.facebook.com/#!/group.php?v=wall&ref=ts&gid=21965941749
I have looked at the developer API, how ever Its out of my expertise range and I do not wish to create a facebook application.
Ideally it would be a simple program with a single multiline textbox and a button that post to the wall.
whats confusing me is how, its wrapped in div tags, this is the source of the texbox to be posted in
<div contenteditable="true" id="c4bb0fa23186cd185ff1c2_input" class="Mentions_Input" style="width: 512px;"><br></div>
Ive tried these methods listed below but no joy.
Dim theElementCollection As HtmlElementCollection = Me.WebBrowser1.Document.GetElementsByTagName("div")
For Each curElement As HtmlElement In theElementCollection
Dim controlName As String = curElement.GetAttribute("class").ToString
If controlName = "Mentions_Input" Then
curElement.SetAttribute("Value", TextBoxuser.Text)
End If
Next
WebBrowser1.Document.All("password").SetAttribute("value", TextBoxMessage.Text)
Im pretty sure its not a form, or would I have to use HTTPpost ?
I do know this is possible with out using the api.
While I dont expect anyone to spoon feed me the answer a push in the right direction would be handy.