Hi Guys,
I was looking trough internet and forums but i have not found anything helpful so I am writing here.
I have code and this is working for me to log on Facebook:
I would like to additionally post.
But i don't know how to find a specific class and find a button "send".
The class for writing text in posting windows is "_1mf _1mj" but
ie.document.all.getbyclassname("_1mf _1mj") doesn't work for me.
Please help
Jacek Antek
I was looking trough internet and forums but i have not found anything helpful so I am writing here.
I have code and this is working for me to log on Facebook:
Code:
Sub Login_facebook()
Dim ie As Object
Dim aelement
Dim btnInput
Dim btnInputer
Set ie = CreateObject("InternetExplorer.Application")
ie.navigate "http://www.facebook.com/login.php"
ie.Visible = True
Do While ie.Busy And Not ie.readyState = 4
DoEvents
Loop
DoEvents
ie.document.All.Item("email").Value = "xxx@com.pl"
ie.document.All.Item("pass").Value = "yyyyy"
ie.document.All.Item("login").Click
Application.Wait (Now + TimeValue("00:00:02"))
ie.navigate "https://www.facebook.com/groups/496722467127307/"
Do While ie.Busy And Not ie.readyState = 4
DoEvents
Loop
I would like to additionally post.
But i don't know how to find a specific class and find a button "send".
The class for writing text in posting windows is "_1mf _1mj" but
ie.document.all.getbyclassname("_1mf _1mj") doesn't work for me.
Please help
Jacek Antek
Last edited: