Make a Feedback Search Tool
Quickly find a specific feedback comment or list a specific type of comment in a person’s profile.
eBay provides no searching or sorting tools on the Member Profile page, a fact that makes finding specific feedback [Hack #1] a rather clumsy process.
Fortunately, you can use a few API calls to make searching a member’s feedback profile an almost trivial excercise.
Start with the script from “Negative Feedback Notification” [Hack
#121] , and just after line
, replace this:
UserId => $user_id,
with this:
UserId => $ARGV[0],
Next, replace the code between line
and line
with this code:
if ((("\L$ARGV[1]" eq "item") && ($item eq $ARGV[2])) || (("\L$ARGV[1]" eq
"type") && ("\$type" eq "\L$ARGV[2]")) {
print "-- $item-$type from $from\n";
print "\"$text\"\n";
}When you’re done, save this script as findfb.pl.
To find feedback pertaining to a particular item number, type:
findfb.pluseritem5958951586
Or, to find all feedback of a certain type, say “negative,” type:
findfb.pl user type negativewhere, in both cases, user is the
eBay member ID of the person whose feedback you’re searching.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access