Jump to content
Sign in to follow this  
Digisoul

need help about facebook :'(

Recommended Posts

Digisoul

Hi there is any 1 have idia how can i write (automation) some text on face book wall ?

here is my sample code, only thing i've done is login into facebook ;)

$oIE = _IECreate("about:blank", 0, 1)
    $oIE = _IEAttach("about:blank", "url")
    _IELoadWait($oIE)
    _IENavigate($oIE, "www.facebook.com")
    _IELoadWait($oIE)
    If StringInStr(_IEPropertyGet($oIE, "title"), "Welcome to Facebook") Then
        $oLForm = _IEFormGetCollection($oIE, 0)
        $oEmail = _IEFormElementGetObjByName($oLForm, "email")
        _IEFormElementSetValue($oEmail, "myemail@xxx.com")
        $oPass = _IEFormElementGetObjByName($oLForm, "pass")
        _IEFormElementSetValue($oPass, "paswword1234")
        _IEFormSubmit($oLForm)
        _IELoadWait($oIE)
    EndIf

i tried many things, but its out of my head.

Thanks in advance

Regards;

Digisoul


73 108 111 118 101 65 117 116 111 105 116

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×