Hey @Zedohix,
So-called Quick-Macros are generally NOT quick at all.
Keyboard Maestro is very literal in what it records, and it rarely creates a really useful, repeatable macro for anything halfway complicated when recording.
What it does do is provide you with a sequence of steps that can spark your understanding of the process and that may be modified and added-to/subtracted-from to achieve your purpose.
You probably want to start this operation with a Found Image condition.
See this thread for ideas:
Specify Closest Image on Move and Click at Image Action
Do NOT try to create a sequence at first.
Get one single instance of your Cancel-Invitation action working – then work on creating a sequence.
By the way – doesn't FaceBook have a means to mass-cancel invitations? (It's been awhile since I looked.)
-Chris