And go after the agent where it hurts - the commission - if possible. Contacting the owner of the property (even if you failed to file your mechanic's lien in time) may be helpful. If the work was NOT authorized, and the agent put the owner of the property in jeopardy, there may be some leverage there.
Also, you may want to seek the advice of an attorney.
Have a great day,
Heather Paul, Realtor
Sheryl Arndt, Real Estate Broker - Sr. Loan Officer CA only
REO & Short Sale Specialist
Credit Repair At No Cost
ALL Loan Programs Available
20+ Years Experience
9am till 9pm 7 days
Small claims is one of the few ways you can try to get paid in such circumstances.It might be possible to file a small claim against the New Owner of the house where you did the work since the court says they are responsible.
If the Realtor actually hired you to do the work a report can be filed with the Department of Real Estate at http://www.dre.ca.gov.
I am hoping you have an electricians license in which case you can file a lien against the property if nothing else works for you.
One more thought that might help, http://www.lafla.org This is the website for Legal Aid. I would try talking to a lawyer. Sometimes a short conversation with an attorney will get you a QUICK answer to your problem.
As Douglas Perez wrote, if you are licensed, record a Mechanics Lien. Hopefully the sale has not closed.
And, even if the sale has closed, report the agent to the DRE.CA.GOV, and to the realtor.com (click on Find An Agent, to check that he is a realtor.
Best of luck.
If you are a licensed electrician or contractor, you can record a Mechanics lien and start foreclosing the property where you performed the job.
Get an attorney for this legal proceeding.
Listen even if the owner of the property was a lender or in escrow lets say for the sake of making a point here, if you had dealt with the right person you would not be out of money for your hard work.
As far as posting the name on a public site as suggested below.....well since we're not in elementary school this is a foolish idea. If you want to make a report against bad business conduct, there are the right channels to do so.
Good luck, I know you wont make this mistake again.