Thursday, July 24, 2014

how to invite all your friends to like your page by a single click

this post mainly goes to those who have created a facebook fanpage and have lots of friends .here is a code that you can use and invite all your friend by just a simple click.
 
FOR GOOGLE CHROME USERS
1:open the facebook fanpage you want to invite your friends
2:click on the see all
3: yor friendlist will pop up scroll down till the last friend
4:once the list is loaded press f12 on your keyboard and a window will rise up
5:copy paste the following code into the console window

var inputs = document.getElementsByClassName('uiButton _1sm'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }
6:after copying the code just press enter and see the magic
FOR MOZILA FIREFOX
 1:login with your facebook account
2:go to your required facebook page
3:click on the see all
4:Now press ctrl+shift+K you will see inspect element
5:now click on console and press ctrl+v and paste the following code

<span id="1e270b39-395e-4d5d-b854-0a83166c3c1f" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">javascript</span><span id="da695c99-db07-427e-a9e8-67008d88e588" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">:</span><span id="058636b9-47f9-45e5-9951-f42ff8f4c877" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">var</span> <span id="b3953b52-cdd0-4e0c-9e11-3358bcf431f5" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">inputs</span> = document<span id="4814f226-c147-403f-8367-d385fefea4ed" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">.</span><span id="13a98cc0-fbce-4900-9627-da5c2381d56b" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">getElementsByClassName</span><span id="5a1d67f7-36f7-4679-a55b-a75c213cb4ba" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">(</span>'<span id="04bb4b99-285e-4639-9fa6-44cd046039a5" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">uiButton</span> _1sm');
for<span id="fc639998-a1d5-4aaf-9d6d-67d350e84df4" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">(</span><span id="bbb3bd5c-1d95-4bc9-bb4e-48d1a7b359de" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">var</span> i=0; <span id="2e9e1a9a-44a3-437d-ba3c-24552e2899c5" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">i</span><inputs<span id="62ac3773-12dc-4460-9fba-a2d17233d435" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">.</span>length;i++) <span id="f80bad5e-f374-4a9a-afe9-b7df121c017a" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">{
</span>inputs<span id="262c52a5-e2c8-4703-845a-1ece9974daa8" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">[</span><span id="7a9cb1ee-a026-45ae-8f7c-ecee885240e4" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">i</span>]<span id="345d6056-ee4b-41c8-a807-50959da455b9" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">.</span>click<span id="7f21379b-f203-4a30-a238-9ba3401e2578" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">(</span>);<span id="cb793bbb-a1f4-441f-a819-c84588c337fe" ginger_software_uiphraseguid="07e61f5f-a6c5-4e56-bcb9-3817569f47bd" class="GINGER_SOFTWARE_mark">
}</span>


6:wait for few seconds and its done

  • ow Login with your Facebook account.


  • Now Go to Your required Facebook Page.


  • There You will See all and click on see all.


  • Now Press Control+Shift +k you will see Inspect element.


  • Now Click on Console and paste below Codes Using control +V


  • Wait for a few seconds and done.
- See more at: http://www.howtofacebooktipstricks.com/2014/05/invite-all-friends-on-page-click.html#sthash.sRdB6Ukn.dpuf
  • ow Login with your Facebook account.


  • Now Go to Your required Facebook Page.


  • There You will See all and click on see all.


  • Now Press Control+Shift +k you will see Inspect element.


  • Now Click on Console and paste below Codes Using control +V


  • Wait for a few seconds and done.
- See more at: http://www.howtofacebooktipstricks.com/2014/05/invite-all-friends-on-page-click.html#sthash.sRdB6Ukn.dpuf

No comments:
Write comments

you maylike