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 Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
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