simple Facebook comment

rockstarrr

Regular Member
Joined
Jul 25, 2012
Messages
271
Reaction score
21
hy, i need a simple Facebook Post-Comment for imacros.
i have made one, but it does not work for me.

my macro:
TAB T=1
URL GOTO=https://www.facebook.com/Mypage
CLICK X=896 Y=1421 (Here schould be the window for the Comment)
TAG POS=1 TYPE=TEXTAREA FORM=ID:u_ps_0_0_8 ATTR=ID:js_1 CONTENT=CommentHERE (MY COMMENT)
DS CMD=KEY X=0 Y=0 CONTENT={ENTER}

but it does not work.
 
The page (not mine) have made an status and i need to comment it
 
this is what I use, change it around any way you want, but this works for me!

TAB OPEN
TAB T=2
URL GOTO=URL OR PAGE OF RANDOM POSTS IMACRO GRABS

TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=*

WAIT SECONDS=5

' Load FB
TAB T=1
URL GOTO=URL OF YOUR FAN PAGE

WAIT SECONDS=5

' extract body
TAB T=2
TAG POS=1 TYPE=TEXTAREA FORM=NAME:NoFormName ATTR=NAME:car<SP>details* EXTRACT=TXT
SET !VAR3 {{!EXTRACT}}

' Paste Body

TAB T=1

EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(4)>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV:nth-of-type(2)>FORM>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>TEXTAREA" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(4)>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV:nth-of-type(2)>FORM>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>TEXTAREA" CHARS="{{!VAR3}}"
SET !EXTRACT NULL

WAIT SECONDS=10

' Post
TAB T=1
EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(4)>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV:nth-of-type(2)>FORM:nth-of-type(2)>DIV>DIV:nth-of-type(13)>DIV>UL>LI:nth-of-type(2)>BUTTON" BUTTON=0

WAIT SECONDS=10

Hope this helps :)

-Sasha
 
Back
Top