Problem with extracting Facebook comment's

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Emios
Posts: 1
Joined: Wed Mar 07, 2018 12:49 pm

Problem with extracting Facebook comment's

Post by Emios » Wed Mar 07, 2018 12:55 pm

Hello.

I have a little problem with extracting facebook comments (from group page, under post). I created siple iMacros code

Code: Select all

VERSION BUILD=9030808 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=SPAN ATTR=CLASS:UFICommentBody EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
SET !EXTRACT NULL
TAG POS=R1 TYPE=SPAN ATTR=CLASS:UFICommentBody EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
SET !EXTRACT NULL
TAG POS=R1 TYPE=SPAN ATTR=CLASS:UFICommentBody EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
SET !EXTRACT NULL
My problem is, how to extract correct text without 5x multiplication. I saw, when comment have emoticons, iMacros just copypaste 5x comment text to exctraction. I attached screen's in imgurl https://imgur.com/a/tbAaN
Please help me, with my code. I only need comment conten't without multiply

Regards
Post Reply