Little iMacro help

Vekkata

Power Member
Joined
Nov 3, 2012
Messages
546
Reaction score
311
Hello,
I was looking for iMacro script that can post to facebook groups. I didn't found so I am trying to record it myself.

The script function must be that:
1. Go to facebook group
2. Click on "Write Post"
3. Paste link to (my) facebook page
4. Click on Post button

Simple as that, but i struggle on the writing/paste the link for the page, I get error "RuntimeError: element TEXTAREA specified by ID:"
From what I read here and there, I understand that i need to make .scv file from where the imacro to pull the information I want to be posted.
Missing ton of information, can anyone point me to the right direction ?

Regards
 
Okay, got it
VERSION BUILD=6861208 TAB T=1
TAB CLOSEALLOTHERS
SET !DATASOURCE datasourceinput.csv
SET !DATASOURCE_COLUMNS 5
SET !DATASOURCE_LINE {{!LOOP}}

URL GOTO=https://www.facebook.com/groups/503638029730376/
TAG POS=1 TYPE=I ATTR=CLASS:img<SP>sp_2n8z86<SP>sx_1aef05&&TXT:
TAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:* CONTENT={{!col1}}
WAIT SECONDS=1
TAG POS=1 TYPE=BUTTON FORM=ID:* ATTR=TXT:Post
WAIT SECONDS=10

But it just don't want to press the Post button. Ideas ?
 
i think button is class not id
mybe try with TAG POS=1 TYPE=DIV ATTR=TXT:Post

just my 2 ccents
hope it helps
 
Have tryed this too, dont work. But thanks !
 
Record option>experimental and it will be working (i think so) :P

something like that: EVENT TYPE=CLICK SELECTOR="#....>DIV>DIV:.....(4)>DIV>UL>LI:nth-of-type(2)>BUTTON" BUTTON=0

wiki()imacros()net/EVENT
 
Last edited:
Ya its hard to comment on fb box
U will need to click on richtextbox with the help of event or tag method
then use event or tag to fill it up..........

Event is quiet good if you use correctly,But u mightn't be able to do other task with event feature
 
Back
Top