Hey
Can anyone tell me / help me find the solution to this:
Is there anyway i can have a webbrowser only show the top two or three tweets from a twitter account? (https://twitter.com/pewdiepie)
Like, remove all the other objects on the page, and then center the tweets in the webbrowser?
Im kinda guessing that without some hardcore coding i will only be able to show ALL the tweets, not just the two or three newest.
Here is a code i found for hiding website objects from being shown in the browser:
I don't know how this works, but if there would be any options like replacingCode:Dim ele = _ ( _ From X In WebBrowser3.Document.GetElementsByTagName("div").Cast(Of HtmlElement)() _ Where X.GetAttribute("id") = "[ID OF ELEMENT]" Select X ).FirstOrDefault If ele IsNot Nothing Then ele.Style = "Display:none" End If
withCode:ele.Style = "Display:none"or something like that, to only show the object in question, we would be half way there :PCode:ele.Style = "Display:only"
Anyone got any ideas?Thanks for all replies. (I apologize for my bad english)




Thanks for all replies. (I apologize for my bad english)
Reply With Quote