Dennis Yu

A clever trick to automatically invite all your Facebook friends to be fans of your page

For folks that have a personal profile (a “standard” account), you can use a clever trick to invite all of these friends to fan the page.  There is no way to automatically import.  When you’re on the Facebook fan page that you want to invite all your friends too, you hit “suggest to friends” under your profile picture and then paste this code into the address bar to automatically select everyone:

javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}

If you have thousands of friends, like I do, then this will save you hours each time.


Dennis Yu

Dennis Yu is a former search engine engineer who has spent a billion dollars on Google and Facebook ads for Nike, Quiznos, Ashley Furniture, Red Bull, State Farm, and other organizations that have many locations. He has achieved 25% of his goal of creating a million digital marketing jobs because of his partnership with universities, professional organizations, and agencies. Companies like GoDaddy, Fiverr, onlinejobs.ph, 7 Figure Agency, and Vendasta partner with him to create training and certifications. Dennis created the Dollar a Day Strategy for local service businesses to enhance their existing local reputation and make the phone ring. He's coaching young adult agency owners who serve plumbers, AC technicians, landscapers, roofers, electricians in conjunction with leaders in these industries. Mr. Yu believes that there should be a standard in measuring local marketing efforts, much like doctors and plumbers need to be certified and licensed. His Content Factory training and dashboards are used by thousands of practitioners.

Ready To Take Your Marketing Game To The Next Level?

Register today for the Dollar-A-Day Coaching Program and accelerate your growth journey!

Scroll to Top